1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

changing group

Discussion in 'Plesk for Linux - 8.x and Older' started by jd2004, Sep 27, 2005.

  1. jd2004

    jd2004 Guest

    0
     
    How can i change the group name of files in httpdocs folder?
    Because i cannot delete files by my ftp programm or the filemanager in Plesk 7.5.3 when the files are in www group.

    Why are they in group www and not in psacln?

    Thanks,

    David
     
  2. hardweb

    hardweb Guest

    0
     
    The files are uploaded by a PHP script most likely. You can change the group only in shell with a root account.
     
  3. jd2004

    jd2004 Guest

    0
     
    How can i change it, what string?

    David.
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    SSH into the server as user root.

    chown username:groupname path/filespec
     
  5. jd2004

    jd2004 Guest

    0
     
    Ok, clear.
    But how can i do it for many (sub-)directories and files?

    For example:
    chown -R user:group /home/httpd/vhosts/xyz.com/httpdocs

    David
     
  6. jamesyeeoc

    jamesyeeoc Guest

    0
     
    It's nice when people answer their own questions.... -R is the recursive option.

    Take caution when changing ownership on folders/files....
     
  7. jd2004

    jd2004 Guest

    0
     
    Ok, I was not sure, but nice to hear...

    David.
     
  8. Whistler

    Whistler Guest

    0
     
    May I suggest that you take a little time to learn the use of Man Pages (help system) ;o)

    man chown

    would be your friend in this case :)
     
Loading...