From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.10) Gecko/20050719 Fedora/1.7.10-1.3.1 Description of problem: chmod set wrong permission under different users Version-Release number of selected component (if applicable): coreutils-5.2.1-31 How reproducible: Always Steps to Reproduce: 1.) mkdir testperm 2.) chmod +rwx testperm 3.) su 4.) chmod -rwx testperm 5.) ls -al Actual Results: d----w---- 2 mosmann mosmann 4096 22. Jul 08:26 testperm Expected Results: d--------- 2 mosmann mosmann 4096 22. Jul 08:26 testperm Additional info: does work under rh9
This is working as documented: A combination of the letters âugoaâ controls which usersâ access to the file will be changed: the user who owns it (u), other users in the fileâs group (g), other users not in the fileâs group (o), or all users (a). If none of these are given, the effect is as if âaâ were given, *but bits that are set in the umask are not affected*. (my emphasis)