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.

Strange file permissions - help

Discussion in 'General Discussion' started by mitgib, Sep 20, 2007.

  1. mitgib

    mitgib Well-Known Member
    PartnerNOC

    Joined:
    Apr 9, 2006
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    I am at a loss with a file permisions problem being set for what I've found so far would be the alternate access bit

    Some accounts that get restored or moved between servers will have files with a + at the end of the file permissions, but fresh newly created accounts do not have this.

    Code:
    # ls -la
    total 112
    drwx--x--x    9 york york   4096 Sep 15 00:01 ./
    drwx--x--x  141 root root   4096 Sep 19 16:28 ../
    lrwxrwxrwx    1 york york     30 Sep 14 19:36 access-logs -> /usr/local/apache/domlogs/york/
    drwxr-xr-x+   2 york york   4096 Sep 14 19:25 .autorespond/
    -rw-r-----+   1 york york     24 Sep 14 19:25 .bash_logout
    -rw-r-----+   1 york york    184 Sep 14 19:25 .bash_profile
    -rw-r-----+   1 york york    132 Sep 14 19:25 .bashrc
    -rw-r-----+   1 york york     30 Sep 14 19:25 .contactemail
    drwxr-xr-x+   3 york york   4096 Sep 18 16:59 .cpanel/
    drwxr-x---+   3 york mail   4096 Sep 14 19:25 etc/
    -rw-------    1 york york     13 Sep 15 00:01 .ftpquota
    -rw-------+   1 york york     11 Sep 19 11:26 .lastlogin
    drwxrwx---+   6 york york   4096 Sep 14 19:25 mail/
    drwxr-xr-x+   3 york york   4096 Sep 14 19:25 public_ftp/
    drwxr-x---+  15 york nobody 4096 Sep 14 19:25 public_html/
    drwxr-xr-x+   7 york york   4096 Sep 19 20:09 tmp/
    lrwxrwxrwx    1 york york     11 Sep 14 19:36 www -> public_html/
    
    This is an example of what is going on. Users that get stuck with this, when they ftp web pages in, the server won't display them for obvious permissions problems as the pages will be owned by user:user and nobody can't read that.

    I've moved the public_html to something and mkdir public_html then chmod user:nobody public_html and copied back the files and that + bit doesn't follow back, so that is fix for the user, I just want to know how to remove that bit and what to look for that might be setting it in the first place.
     
Loading...

Share This Page