Hi all, can't seem to find a ready answer to this.
I have a user who has complained about 8 files from their first year of membership which they can't delete.
The attachments are in the file system and I can't track the attachments in question by their filename from display so when I went into the ./forums/attach directory I noticed that there are some inconsistencies in the ownership and permissions of the files in there.
But because the forums have lots of attachments I can't trawl through it manually.
What I want to do is a recursive ownership and permissions update on the whole tree from ./attach down
Can someone please tell me the best permissions and owner?
I have done a server migration recently cPanel to cPanel and previously converted a stand alone forum system to a cPanel account so given that the system is now running as a user account I may need to be conscious of that.
I suspect that all attachments need at least read and wite for the owner account of the cPanel account.
For example one of the sub directories looks like this:
Any guidance would be appreciated.
I have a user who has complained about 8 files from their first year of membership which they can't delete.
The attachments are in the file system and I can't track the attachments in question by their filename from display so when I went into the ./forums/attach directory I noticed that there are some inconsistencies in the ownership and permissions of the files in there.
But because the forums have lots of attachments I can't trawl through it manually.
What I want to do is a recursive ownership and permissions update on the whole tree from ./attach down
Can someone please tell me the best permissions and owner?
I have done a server migration recently cPanel to cPanel and previously converted a stand alone forum system to a cPanel account so given that the system is now running as a user account I may need to be conscious of that.
I suspect that all attachments need at least read and wite for the owner account of the cPanel account.
For example one of the sub directories looks like this:
Code:
-rwxr-xr-x 1 sourcepo sourcepo 51073 Apr 25 2010 20431.attach* -rw-r--r-- 1 sourcepo sourcepo 7698 Apr 25 2010 20431.thumb -rwxr-xr-x 1 sourcepo sourcepo 39943 May 26 2010 21684.attach* -rw-r--r-- 1 sourcepo sourcepo 9189 May 26 2010 21684.thumb -rwxr-xr-x 1 nobody nobody 62871 Jan 2 2011 27689.attach* -rw-r--r-- 1 nobody nobody 10177 Jan 2 2011 27689.thumb -rw-r--r-- 1 nobody nobody 80509 Jan 2 2011 27690.attach -rw-r--r-- 1 nobody nobody 8662 Jan 2 2011 27690.thumb -rw-r--r-- 1 nobody nobody 75725 Jan 2 2011 27691.attach -rw-r--r-- 1 nobody nobody 9479 Jan 2 2011 27691.thumb root@solaris [/home/sourcepo/www/archeli/forums/attach/2/7/7/1/1]#
Any guidance would be appreciated.
Comment