Find the answer to your Linux question:
Results 1 to 3 of 3
my directory is basically permission: HTML Code: [root@localhost ~]# ls -ld /var/www drwxrwxr--+ 2 root root 4096 Aug 2 19:18 /var/www this ACL permission HTML Code: [root@localhost var]# getfacl www ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! ibelieveme's Avatar
    Join Date
    Apr 2011
    Posts
    30

    ACL directory question


    my directory is basically permission:
    HTML Code:
    [root@localhost ~]# ls -ld /var/www
    drwxrwxr--+ 2 root root 4096 Aug  2 19:18 /var/www
    this ACL permission
    HTML Code:
    [root@localhost var]# getfacl www
    # file: www
    # owner: root
    # group: root
    user::rwx
    group::rwx
    other::r--
    default:user::rwx
    default:user:skyxue:rwx
    default:group::rwx
    default:group:skyxue:rwx
    default:mask::rwx
    default:other::r--
    Question: I'm using skyxue(user) on login system
    HTML Code:
    [skyxue@localhost ~]$ cd /var/www
    -bash: cd: /var/www: Permission denied

  2. #2
    Just Joined!
    Join Date
    Aug 2007
    Location
    Fairfax, VA
    Posts
    22
    Did you enable acl as a flag on the mount? in /etc/fstab you must add 'cal' to use setfacl and getfacl

  3. #3
    Just Joined!
    Join Date
    Aug 2007
    Location
    Fairfax, VA
    Posts
    22
    silly autocorrect, s/cal/acl

  4. $spacer_open
    $spacer_close

Posting Permissions

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