Re: Archive Directory Permissions
the script. The script creates directories with a permission set to 2770. Here is what it looks like:
drwxrws--- 4 smart smart 1024 Aug 8 09:23 . drwxrws--x 3 smart smart 1024 Aug 8 09:30 .. d-wx-wS--T 2 smart smart 1024 Aug 8 09:23 200008 drwxrws--- 2 smart smart 1024 Aug 8 09:23 latest
If I try to get a dir listing of the 200008 directory the server returns an email stating:
ls -l 200008 BEGIN---------------cut here------------------ ls: 200008: Permission denied END-----------------cut here------------------
That's running as the user "smart"?
That's not a 2770. You need read permission on the directory as well as execute permission. And why is it sgid anyway? I.e. what would be wrong with chmod 770 200008 ?
to be more specific, the modes of that directory appear to be 03320. This has the read bit set only for the owner and has the search bit set for no one. 02770 would display as 'drwxrws---', just like the parent of the 200008 directory. Is either the uid corresponding to username "smart" or the gid corresponding to groupname "smart" 1744?
participants (1)
-
David R. Linn