Results 1 to 4 of 4
  1. #1

    FTP Account Permissions - No Rights

    Hello, I own a dedicated server and have installed plesk on it. With the domain, plesk creates an FTP account to use for that domain. When you use that user/pass it only allows access to the

    Code:
    /var/www/vhosts/mydomain/
    directory, which is fine.

    Now the problem is that the account has very limited permissions. It didn't let me write to any of the folders unless I chmodded them to '777', and now doesn't let me overwrite any files unless I login as root and chmod the individual files to '777'. How can I set this accounts permissions to allow full writing, and reading for everything it has access to? I don't want everything to have full permissions for obvious reasons. Thanks

  2. #2
    Join Date
    May 2008
    Posts
    340
    You can change the ownership of the folder /var/www/vhosts/mydomain recursively to the user ownership associated with the account.

    This would also depend on how Plesk works. cPanel associates a user with an account and /home/user is user.user ownership.
    Twitter : http://twitter.com/eth1networks
    Contact Us : support[at]eth1.in

  3. #3
    Alright I got it working. I had to change the file owner. I thought the owner was already that other account but apparently not. I used this command

    Code:
    chown -R username httpdocs/
    I then went back and chmoded everything back to 755. And now that account can do everything I want it to.

    Thanks

  4. #4
    Join Date
    May 2008
    Posts
    340
    Glad to know you got it working.
    Twitter : http://twitter.com/eth1networks
    Contact Us : support[at]eth1.in

Similar Threads

  1. Changin default file permissions for one account in whm?
    By Blurple in forum Hosting Security and Technology
    Replies: 1
    Last Post: 10-06-2009, 03:04 AM
  2. How to edit FTP User Permissions on a cPanel account?
    By JGRoboMarketing in forum Web Hosting
    Replies: 7
    Last Post: 05-17-2008, 02:14 PM
  3. Permissions problem with an account
    By junglecat in forum Hosting Security and Technology
    Replies: 3
    Last Post: 05-24-2007, 03:25 PM
  4. account permissions
    By Outlaw Web Master in forum Hosting Security and Technology
    Replies: 2
    Last Post: 07-15-2006, 08:10 AM
  5. Admin Account Rights, Please help!
    By AskAR in forum Hosting Security and Technology
    Replies: 7
    Last Post: 05-08-2005, 07:26 PM

Posting Permissions

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