Welcome to WebmasterWorld Guest from 54.147.134.218

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)

New User

5+ Year Member

joined:Oct 20, 2009
posts:13
votes: 0


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)

Administrator

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

joined:Aug 10, 2004
posts:10544
votes: 8


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

New User

5+ Year Member

joined:Oct 20, 2009
posts: 13
votes: 0


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