Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 3 of 3
  1. #1
    Platinum Lifetime Member
    hotdog_pk's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    530
    DNF$
    362
    Bank
    0
    Total DNF$
    362
    Donate  

    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 :-\

  2. #2
    Divine Ruler
    Ubiquitous's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    434
    Country

    United States
    DNF$
    92
    Bank
    5,421
    Total DNF$
    5,513
    Donate  

    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. #3
    Platinum Lifetime Member
    hotdog_pk's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    530
    DNF$
    362
    Bank
    0
    Total DNF$
    362
    Donate  

    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?

Similar Threads

  1. plesk 7 question
    By Adam Dicker in forum Hosting
    Replies: 1
    Last Post: 09-13-2005, 09:22 PM
  2. Plesk Reloaded 7.12 and 4PSA WebHosting.
    By BerArt in forum DNF$ Sales/Domain Auctions
    Replies: 0
    Last Post: 08-28-2004, 11:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com