Results 1 to 4 of 4
  1. #1

    Bad file descriptor??

    Hello,

    One of our clients is having problems CHMOD on files. They can't do it via cPanel, FTP, or any other way. THis is the error we get when trying to CHMOD a folder (It's the same error for everyfile/folder)

    550 Could not change perms on /public_html/path/to/folder: Bad file descriptor

    I was able to CHMOD via SSH, but that's the only way. Do you have any ideas?

    CentOS 3.4 with cPanel/WHM

    Thanks,
    Jordan
    IcyBlueHost
    Home of the average 15 minute response time!
    Rvskins - Sitebuilder - Resell Reseller Accounts

  2. #2
    Join Date
    Feb 2002
    Location
    Vestal, NY
    Posts
    1,378
    You will get this error when a file is not owned by the same user/group as the FTP user. Is it possible that these files are being generated by the webserver (user nobody) or you setup different FTP accounts with usernames that do not match the owners of the files?
    H4Y Technologies LLC Check out our new website!
    "Smarter, Cheaper, Faster" - SMB, Reseller, VDS, Dedicated, Colo hosting done right.

    ZERO PACKETLOSS, ZERO DOWNTIME Dedicated and Colo - USA: IA, CA, NC, OR, NV
    **http://h4y.us**
    Voice: (866)435-5642. *** Email: askus at host4yourself d0t com

  3. #3
    Join Date
    Apr 2005
    Location
    India
    Posts
    20
    chown user:user /public_html/path/to/folder
    chmod 755 /public_html/path/to/folder

  4. #4
    Thanks! That took care of it.

    Regards,
    Jordan Tuttle
    IcyBlueHost
    Home of the average 15 minute response time!
    Rvskins - Sitebuilder - Resell Reseller Accounts

Posting Permissions

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