Archive Directory Permissions
This list has been VERY helpful and responsive to my questions on using SmartList. Thank you. I have one last question concerning the arch_trunc script from the O'Reilly & Associates Managing Mailing Lists book. There seams to be a permissions problem with the directories created by 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------------------ What would you recommend I change the 2770 to so we can request the content of this directory? I can do a "get" to receive individual files within the 200008 directory. Since this list is not used heavily it would be useful to see what days of the month are available to "get". Thanks again for all your help. -- _________________________________________ Dave G. Bacon Computer Network Manager Outagamie Waupaca Library System 225 N. Oneida St., Appleton, WI 54911 920/832-6193(voice), 920/832-6422(FAX) dbacon@mail.owls.lib.wi.us _________________________________________
On or about Tue, Aug 08, 2000 at 10:59:41AM -0500, Dave Bacon typed:
There seams to be a permissions problem with the directories created by 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 ? Cheers, Roger -- Roger Burton West -/- roger@firedrake.org http://firedrake.org/roger/ "Mice not sing - mice not work." "Mice strike!"
On Tue, 8 Aug 2000, Dave Bacon wrote:
There seams to be a permissions problem with the directories created by 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
That 200008 directory doesn't look like 2770 permissions to me; the latest directory permissions are what you should be seeing as 2770. Either the script or your filesystem broke something with that archive directory. Tim Wilde --- Tim Wilde twilde@dyndns.org Systems Administrator Dynamic DNS Network Services http://www.dyndns.org/
At 10:59 -0500 08 Aug 2000, Dave Bacon <dbacon@mail.owls.lib.wi.us> wrote:
What would you recommend I change the 2770 to so we can request the content of this directory? I can do a "get" to receive individual files
Mode 2770 should be fine; the problem is that you're not getting that. To get that mode using perl's builtin chmod function you need to specify mode 02770 (the standalone version assumes octal, perl doesn't). -- Aaron Schrab aarons@execpc.com http://www.execpc.com/~aarons/ FORTRAN rots the brain. -- John McQuillin
participants (4)
-
Aaron Schrab
-
Dave Bacon
-
Roger Burton West
-
Tim Wilde