users and groups help

Ioannis Vranos ioannis.vranos at gmail.com
Sat Sep 24 15:43:44 UTC 2011


On Sat, Sep 24, 2011 at 6:03 PM, Kevin O'Gorman <kogorman at gmail.com> wrote:
> Synopsis: clarify 'chmod' usage
>
> On Sat, Sep 24, 2011 at 7:18 AM, Ioannis Vranos <ioannis.vranos at gmail.com>
> wrote:
>>
>> ==> No, chmod 770 is equivalent to chmod u=rwx,go=
>
> No it's not.  It's equivalent to chmod ug=rwx,go=

? You first assign group with rwx permissions, and then you assign it
with no permissions.


>
>>
>>
>> > If you want the group to have read/write access to the directory, and
>>
>> ==> be able to see the directory when listing files and directories, you
>>
>> > should give as root:
>> >
>> > chmod g=rwx DirectoryName
>>
>> or
>>
>> > chmod g+rwx DirectoryName
>>
> This should not be necessary.  Follow the other advice about running in a
> new login after changing group membership.
>
> To verify the chmod usage, observe:
>
>[...]


I think this is nonsense, regarding the original poster's question.



-- 
Ioannis Vranos

http://www.cpp-software.net




More information about the ubuntu-users mailing list