

| | #1 (permalink) |
| Platinum Lifetime Member | trouble with plesk ive recently bought a dedicated server with plesk, and im used to whm/cpanel. the trouble im having is that when i upload images to a directory via. FTP, they automatically have the 'wrong' chmod values (ie. different to what they did with cpanel - which im used to) the problem is that regular users have write access. does anybody know how to change the default uploaded chmod value so that it is a certain chmod value (or that of the parent directory) when uploaded?? i have access to the shell, etc. ... so im sure theres some way of changing the default value :-\ |
| | |
| Sponsored Ads |
| | #2 (permalink) |
| Divine Ruler Last Online: 10-21-2008 09:33 PM iTrader: (10) Join Date: May 2006
Posts: 436
DNF$: 3,948 Location: USA
Country: | Re: trouble with plesk Try this: shell: chmod 755 /folder_name
__________________ » Premium Domains » aga.in | cha.in | sta.in | unp.in | ~ PM to inquire ~ |
| | |
| | #3 (permalink) |
| Platinum Lifetime Member | Re: trouble with plesk thanks for the reply kingpin but i believe that will only change the actual folder chmod after uploading, the users wont have the knowledge of how to do this. the idea of the script (which worked perfectly on both a whm/cpanel running on linux and xampp installation in windows) is that the user simply uploads images to a directory and then goes on the website where they get the script to create two seperate folders and then generate thumbnails of the original images and save them in the folder... the problem is that because of writing permissions, my script cant create the folder. i read that in safe mode PHP doesnt allow non-owners of folders to write to the actual folder (and PHP regards itself as the user 'apache', rather than the user who uploaded the images).... however, my server isnt in safe mode. any ideas? |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| plesk 7 question | DotComGod | Hosting | 1 | 09-13-2005 09:22 PM |
| Plesk Reloaded 7.12 and 4PSA WebHosting. | BerArt | DNF$ Sales/Domain Auctions | 0 | 08-28-2004 11:17 AM |