Re: inconsistent permissions recreating ./*time*/ and ./*out*/ directories
amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop)
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
Miernik <[email protected]> writes: > To clear up some disk space, I have '/etc/init.d/wwwoffle stop'ed my > WWWOFFLE, and then deleted all ./*time*/ and ./*out*/ directories and > then started wwwoffle again. > > WWWOFFLE recreated them with permissions set inconsitently: > > czernica:~/wwwoffle$ ls -l | egrep "time|out" > drwxr-xr-x 2 proxy proxy 1024 2006-02-02 09:40 lastout > drwxrwxr-x 2 proxy proxy 1024 2006-02-02 09:40 lasttime > drwxr-xr-x 2 proxy proxy 1024 2006-02-02 09:40 outgoing > drwxr-xr-x 2 proxy proxy 1024 2006-02-02 09:40 prevtime1 > drwxr-xr-x 2 proxy proxy 1024 2006-02-02 09:40 prevtime2 > drwxrwxr-x 2 proxy proxy 1024 2006-02-02 09:40 prevtime3 > drwxrwxr-x 2 proxy proxy 1024 2006-02-02 09:40 prevtime4 > drwxrwxr-x 2 proxy proxy 1024 2006-02-02 09:40 prevtime5 > drwxrwxr-x 2 proxy proxy 1024 2006-02-02 09:40 prevtime6 > drwxrwxr-x 2 proxy proxy 1024 2006-02-02 09:40 prevtime7 > czernica:~/wwwoffle$ > > I have: > > Options > { > [...] > dir-perm = 0775 > file-perm = 0664 > [...] > } > > Why it didn't obey this when creating lastout, outgoing, prevtime1 and > prevtime2 ? Looks like a bug. Anyway strange it obeyed them for others. I don't know why it has given different permissions to some of the directories. The source code always uses the configuration file directory permission option (you can search for 'mkdir' in the code to see). The 'lastout' directory gets renamed to 'prevout1' and all of the others get moved down one as well when you go online. This might explain why lastout, prevout1 and prevout2 are the same. I can't explain why they are different to the others though. If it is a bug then I don't know how to fix it. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html