DNforum.com - Domain Sales, Domain Forum, Domain Appraisals
 
Register Now! Welcome to Dnforum.com You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast and simple so please, join our community today! If you have any problems with the registration process or your account login, please contact us.
Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Hosting
Reply
 
LinkBack Thread Tools Display Modes
Old 10-10-2006, 06:28 AM   #1 (permalink)
Platinum Lifetime Member
 
hotdog_pk's Avatar
 
Last Online: 06-23-2008 11:21 AM
iTrader: (0)
Join Date: Mar 2004
Posts: 529
DNF$: 180
Location: UK


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 :-\
__________________
Manchester Night Club Guide
hotdog_pk is offline   Reply With Quote
Old 10-10-2006, 07:08 AM   #2 (permalink)
Divine Ruler
 
Kingpin's Avatar
 
Last Online: 04-02-2008 04:09 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 ~
Kingpin is offline   Reply With Quote
Old 10-11-2006, 05:27 PM   #3 (permalink)
Platinum Lifetime Member
 
hotdog_pk's Avatar
 
Last Online: 06-23-2008 11:21 AM
iTrader: (0)
Join Date: Mar 2004
Posts: 529
DNF$: 180
Location: UK


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?
__________________
Manchester Night Club Guide
hotdog_pk is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 02:12 PM.
Copyright @2001-2008 DNForum.com

Learn Domains
Promote Domains
Research Domains
Buy Domains
Resell Domains
Park Domains
Sell Domains
Build Domains
Host Domains
Trademark Domains
Domain Domains
manage Domains
Appraise Domains