Tag Info

Hot answers tagged

3

Just a reminder: Ubuntu create folders with default permissions 755 and files with default permissions 644. You can change this default value playing with umask. So in general No files don't inherit their parent permissions, instead newly created files/dirs have the default permissions Back to your question: You are getting confused with permissions. ...


3

You should not change that. No file that you load from the Internet should be executable by default. This is a too high security risk. If you really want this … Permanently set file and folder permission for a user If you want to execute the file, you should always change the rights manually. No editing application needs rights to execute a file. ...


2

Back-up important files (if you have any) after booting from a live-cd, then reinstall system. This is the only option that I know of.


2

It seems that you're trying to delete the folder from within the folder itself and giving a non-existing path for rm to delete. Do something like: cd ~/tmp sudo rm -rf remaster-iso


2

To upgrade to linux-image version 3.13.0-61 run sudo apt-get dist-upgrade then reboot and it will work again


2

Execute the ls -l to list the permissions, owner, and group for all files and directories in a particular directory: ls -l /var ls -l /var/www ls -l /var/www/folder1 ls -l /var/www/folder/folder2 index.html will be included in the listed contents of the last directory so no command is necessary. Although, if you did want to know the ownership and ...


2

Unless you have a good reason for specifically requiring a different version, then install Django from the repos: sudo apt-get update && sudo apt-get install python-django


2

Assuming your question is "How can I install django?", I might suggest that you do so using pip (python's package manager). There are other options, but this method has been the most pleasant in my experience. For python3, you can install pip with sudo apt-get install python3-pip Change python3-pip to python-pip in the command above if you are using ...


1

From man chmod: SETUID AND SETGID BITS chmod clears the set-group-ID bit of a regular file if the file's group ID does not match the user's effective group ID or one of the user's supplementary group IDs, unless the user has appropriate privileges. Additional restrictions may cause the set-user-ID and set-group-ID bits ...


1

I think you have to change the umask to 0002 : umask 0002


1

Copy the iso file into your home directory and then open a terminal and type this: hdiutil convert -format UDRW -o ubuntu.img NAME_OF_DOWNLOADED_FILE.iso substituting NAME_OF_DOWNLOADED_FILE.iso for the actual name. This should create the file ubuntu.img


1

This is related to permissions: $ ls -ld /usr/local/ drwxr-xr-x 14 root root 4096 Sep 4 2014 /usr/local/ As you can see the directory /usr/local/ is owned by user root and group root so you are not able to just copy any file to this directory as a normal user. To overcome permissions you should use sudo: sudo cp ~/Downloads/java* /usr/local If you ...


1

in some case after change, PermitRootLogin yes must check this config : DenyUsers root AllowUsers saeid and to enable login must change to : #DenyUsers root AllowUsers root OtherUser


1

Update to linux-image-extra-3.13.0-61 and



Only top voted, non community-wiki answers of a minimum length are eligible