The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

unable to change file permissions via FTP/SSH and Filemanager

Discussion in 'General Discussion' started by dezomat, Sep 10, 2005.

  1. dezomat

    dezomat Member

    Joined:
    Jul 25, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Hi there,

    i got a little problem and i don´t know whats wrong ;(

    upladed a file and now i want to change the permissions to 755 .. i tried it via FTP / SSH and via CPAnel Filemanager .. but it wont change the permissions ,, do i need to enable it somewhere in the whm ??

    Bye & thanx in advance

    dezomat
     
  2. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Since you are experiencing the problem via FTP, SSH and the File Manager, it sounds like the problem is filesystem related. All I can think of is that the user you are logging in as, is not the owner of the file.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Indeed. You should get an error if you're unable to chmod from SSH:

    chmod -v 755 filename
    ls -la filename
     
  4. internetfab

    internetfab Well-Known Member
    PartnerNOC

    Joined:
    Feb 20, 2003
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Gothenburg, Sweden
    cPanel Access Level:
    DataCenter Provider
    Related problem which is pretty common. Since we're not running in phpsuexec mode every file made by the webserver is owned by nobody.
    This is a problem when the website owner wants to use an application like b2evolution or something and it makes directories as nobody:nobody.

    I was under the impression that File Manager acted ran as Nobody BUT jailed to customers space only. That was incorrect of me.

    Is there any way to go around this somehow? Or should we just have them install their own file manager running in PHP and chmod and delete files that way?
    How do you guys solve this? Ask the customer what should be deleted and then do it?
     
  5. Xenon101

    Xenon101 Well-Known Member

    Joined:
    Mar 13, 2005
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Personally i like to enable php susexec mode! lol
     
  6. internetfab

    internetfab Well-Known Member
    PartnerNOC

    Joined:
    Feb 20, 2003
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Gothenburg, Sweden
    cPanel Access Level:
    DataCenter Provider
    hehe :)
    I know we've had some problems running phpsuexec before that's why we've left it off.
    Maybe we'll give it another try on our next server.
     
Loading...

Share This Page