Suppose I have myDirectory
which contains files and directories and I issue the command...
chmod --recursive a-w myDirectory
nautilus
will display a padlock on the icon of myDirectory
. There is no padlock on the directories within it. Why not?
Suppose I have myDirectory
which contains files and directories and I issue the command...
chmod --recursive a-w myDirectory
nautilus
will display a padlock on the icon of myDirectory
. There is no padlock on the directories within it. Why not?
You can verify the permissions of the directories within
– Ender Apr 10 '23 at 09:18myDirectory
by running thels -l
command in a terminal or by checking their properties in Nautilus.drwxrwxr-x
which is the same as the permissions on myDirectory/subDirectory. Then after issuing the command the permissions aredr-xr-xr-x
for both myDirectory and myDirectory/subDirectory. – H2ONaCl Apr 13 '23 at 16:48mkdir -p test/test1/test2
), and then set thetest2
folder to limited permissions. The result is that you'll see that folder with a padlock. However, if you move up to its parent (test1
) and then limit permissions there, the padlock icon ontest2
is gone, and the padlock is now ontest1.
Seems to be a strange design thing... or a bug. – richbl Apr 16 '23 at 19:48