Help - Search - Members - Calendar
Full Version: plesk chown
The Planet Forums > Control Panels > Plesk
christian
Hi

I transferred several sites for clients using root access. Now I find the client cannot upload or delete files via FTP. I can from my location. :confused: HOW TO !! chown
ensim chown admin:admin blablabla folder but i cannot use this with plesk
christian
Doesnt Matter

icon_smile.gif I already found
konasam
you can also recursively chown sub-directories


chown -R user:group DIRNAME
pedrodj
QUOTE (konasam)
you can also recursively chown sub-directories


chown -R user:group DIRNAME


# chmod -R tune : psacln httpdocs
# chmod: invalid mode string: `tune : psacln'

[no space between username & group]

i'm getting mad with problems eith Plesk and ProftpD icon_sad.gif
GraphicsGuy
QUOTE (pedrodj)
# chmod -R tune : psacln httpdocs
# chmod: invalid mode string: `tune : psacln'

[no space between username & group]

i'm getting mad with problems eith Plesk and ProftpD icon_sad.gif

That isn't a Plesk issue. You are attempting to use chmod instead of chown.

In *nix operating systems chmod = change mode and changes the permissions level (i.e. 777, 755, etc.)

chown = change owner and changes the file ownership (i.e. user:group)

hth
pedrodj
QUOTE (GraphicsGuy)
That isn't a Plesk issue. You are attempting to use chmod instead of chown.
 
In *nix operating systems chmod = change mode and changes the permissions level (i.e. 777, 755, etc.)
 
chown = change owner and changes the file ownership (i.e. user:group)
 
hth


opsSS, sorry ... i'm behind the pc since 10hours icon_wink.gif

i have made the chown but FTP doesn't work fine with the domain:

i have done chown user : psaserv [without space] to httpdocs but when i use FTP for the user, doesnt work (doesn't find correctly the directory)

drwxr-xr-x 19 root root 4096 Dec 5 12:20 .
drwxr-xr-x 23 root root 4096 Dec 5 12:18 ..
drwxr-x--- 5 tune psaserv 4096 Dec 5 12:18 anon_ftp
drwxr-xr-x 2 root root 4096 Dec 5 12:18 bin
drwxr-x--- 2 tune psaserv 4096 Dec 5 12:18 cgi-bin
drwxr-x--- 2 root psaserv 4096 Dec 5 12:18 conf
drwxr-xr-x 2 root psaserv 4096 Dec 5 12:18 error_docs
drwxr-xr-x 2 root root 4096 Dec 5 12:18 etc
drwxr-xr-x 13 tune psaserv 4096 Nov 28 19:24 httpdocs
drwxr-x--- 4 tune psaserv 4096 Dec 5 12:18 httpsdocs
drwxr-xr-x 2 root root 4096 Dec 5 12:18 lib
drwxr-x--- 2 root psaserv 4096 Dec 5 12:18 pd
drwx------ 2 tune root 4096 Dec 5 12:18 private
dr-xr-x--- 7 root psaserv 4096 Dec 5 12:18 statistics
drwxr-xr-x 2 root psaserv 4096 Dec 5 12:18 subdomains
drwxrwxrwt 2 root root 4096 Dec 5 12:18 tmp


my problems is to restore some web for my domain: i have domain.tar.gz, when uncompress it, it create a subfolders "html" so i have to delete httpdocs and make "mv html httpdocs", then i do "chown -R user : psaserv httpdocs" (httpsdocs is user : psaserv, so i make same thinbg on httpdocs).

some ideas on how restore my backuped sites on new httpdocs ?

thank you icon_wink.gif
pedrodj
solved icon_smile.gif

just use file manager from Plesk and reset user permissions, then restart psa and xinetd to make ProftpD works correctly icon_wink.gif
Squire
You need to be more exacting in what you're trying to do pedrodj. Command Line is very powerful but also very unforgiving.

You said:

QUOTE
i have done chown user : psaserv [without space] to httpdocs


That would only chown the httpdocs directory, not all of the files. Use the -R recursive command if you want all of the files to change ownership.

This is not a plesk issue btw.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.