• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

Windows Permissions on CentOS 5.2 File Server

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux

View previous topic :: View next topic  
Author Message
PostItNote
Just Arrived
Just Arrived


Joined: 06 Mar 2009
Posts: 0


Offline

PostPosted: Thu Mar 26, 2009 3:22 am    Post subject: Windows Permissions on CentOS 5.2 File Server Reply with quote

Here is the situation:

Our CentOS 5.2 server acts as a file server for Samba environment. We have multiple shares, each share has a group associated with it. Each group has multiple users associated with it. Some users are members of more than one group.

For this example we would use the "fs" share, which points to the "fileserver" folder. The permissions on the fileserver folder have been set to 770 via "chmod -R 770 fileserver/". The owner:group has been set to user1:fs via "chown -R user1:fs fileserver/". To set the sticky bit for the group, we used "chmod -R g+s fileserver/"

These commands work fine if we keep using them to fix permissions after any user creates a new file, but we want the permissions and group to be set for any new files created (recursively) under the fileserver share. The "g+s" command seems to have worked to make the group be automatically set for any new file. What currently happens is that if "user 2" creates a new file in the "fs" share, then the file gets assigned "user2" as the owner and the permissions are set to 755, making anyone able to read and execute the file, but only the creator can overwrite or delete the file.

Any help here would be greatly appreciated!!!!!!
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> UNIX // GNU/Linux All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register