[KLUG Members] linux directory permissions
John Pesce
pescej at sprl.db.erau.edu
Tue Jan 4 13:40:25 EST 2005
I read an article about suid and sgid for directories that would solve
my problems. I have my home directory as a nfs share on my server. I
want to create a directory in home that all the budget users can write
to that would not count against their quota. Yes, I probably should have
it an another partition but I only have one RAID drive and I can't just
blow it away to repartition it right now.
Anyway.
I made a /home/budget folder and set the permissions to:
drwsrwsr-x 22 budget budget 4096 Jan 4 13:33 ./
drwxrwxr-x 44 root staff 4096 Dec 23 15:16 ../
The article said that when a user creates something in it the owner and
group wound be set to budget:budget.
When I create a file it gets set to pescej:budget rather then the usual
pescej:staff
Why isn't the owner being set correctly?
More information about the Members
mailing list