Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-10-2006, 03:10 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 7

Rep: Reputation: 0
how to stop admin-user changing file permissions

Problem was to allow teachers to access pupil home-dirs. Achieved this by putting admin users = staff, but that creates a problem in that if a staff member opens and saves a word doc in a pupils home dir then the file permission for "user" are changed to root and the pupil cannot write to their own document again.
Tried setting suid on pupils home dir but this does not work when admin user is used.

Any suggestions.

The other solution to the original problem was to use acl's (I think) but these have not been installed on our unbuntu samba server and some linux users express need for great caution (i.w. try it out on spare partition (which dont have) first. so pefer to find another solution if possible.
Old 11-10-2006, 03:57 AM   #2
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
you need to set sgid to the directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing user permissions XAVeRY Linux - Newbie 2 02-09-2005 09:38 PM
Error when changing User permissions johnnyICON Linux - Newbie 1 10-01-2004 05:30 PM
usr v.s. admin auto file permissions me99 Linux - Security 4 03-19-2004 12:12 PM
What is changing my file permissions? lamekain Linux - Security 10 12-08-2003 04:22 AM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 04:42 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration