Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > samba and group permissions...

samba and group permissions...
Thread Tools
hotani
Senior User
Join Date: Sep 2000
Location: Denver, CO, USA
Status: Offline
Reply With Quote
Apr 26, 2003, 02:58 AM
 
i administer a Mac OS X machine at work, and my team is all connected to it via samba or "windows file sharing."

We have several web applications on there, and it is important that everyone is able to see and edit files, which they can untill I get on the console and create a directory or file from the gui.

Here is the problem: Although I can set it up so that the connected users create files with group write access, apple's usage of the 'staff' and 'admin' groups messes it up since the samba users are creating files as 'admin.'

When i get on the machine at the gui, i am in group 'staff' so cannot edit 'admin' files - even though it has group access, until i manually change the permissions.

also, if I create anything from the gui, it is created as group staff, and does not have group access - umask apparently does not affect gui actions. I have umask set for 022, so if i create something from the CLI, it is fine and dandy since it is created as group 'admin' with group access.

I think one solution would be to have access to change the create mode for gui actions, as well as the group. Is there a way to do this?

Another solution might be to take the team user (there is only one user which everyone uses) out of the group 'admin' so everything is created as 'staff,' but then when i create something from the cli it will be 'admin.'

anyone still with me at this point?
// hōtani
MDD G4 dual 867
     
   
Thread Tools
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 04:13 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,