I went from Windows 7 to Debian 9, copying most of the files I'm using for my projects from an NTFS drive.
I see that :
all the folders I have copied are now with rights drwxrwxrwx instead of
I've just noticed some interesting behavior with chmod when unsetting the setgid bit:
$ mkdir test
$ chmod 2755 test
$ stat -c '%a %n' test
2755 test # as expected
$ chmod 0755 test
$ stat -c '%a %n'...
I would like to give 755 permissions to a directory, so I use:
# chmod -R 755 /my/folder/
It works for all files inside my folder, but the problem is that I use scripts that create new files in this ...
For some reason after reinstalling Debian 8 (LVM encrypted) I need to
sudo for any writing command in certain directories of /home/manuel/ directory (not even all of them!).
I tried chmod a=awx [-R] ...
I have accidentally changed the permission of "/usr/bin" directory and its files by the command:
$chmod 775 /usr/bin -R
First, there was a problem with sudo but I fixed it. Now I am suspicious that ...