Welcome to WebmasterWorld Guest from 54.158.166.6

Forum Moderators: bakedjake

Message Too Old, No Replies

What plus in drwxrwxr-x+ standing for?

Directory permission

   
11:42 pm on Jan 12, 2010 (gmt 0)

5+ Year Member



Dear guys

I moved website's files to the new server.
Some directory require write permission.
The user name of apache in new server is different from the old server.
the apache user is in the same group name for both server.

My problem is, the web application need to be able to write file in specific folder.
However, it would not work with drwxrwxr-x
After investigation, it will work with

drwxrwxr-x+ (I noticed from another directory that writable)

OR

drwxrwxrwx

By the way 777 may not a good solution for security.

Therefore, I would like to make a plus(+) sign at the end (drwxrwxr-x+ ). But I don't have an idea of what is it, and how to make it happen.

If you guys could give me a pointer to this, it would be really appreciated.

Thanks

8:04 am on Jan 13, 2010 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



access control list (ACL) permissions.
11:48 pm on Jan 13, 2010 (gmt 0)

5+ Year Member



Thank you very much phranque!

It work!
I use this to copy ACL from good directory to the issued directories.

getfacl file1 ¦ setfacl --set-file=- file2