Question Locked

Linux SAMBA File Permissions

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Heya Folks,

I need a way to setup permissions. I currently have a SAMBA server acting as a "file server"...I have about 25 users who access it on a daily basis.

Problem: Users are deleting / moving files, etc...and then coming to me when they cannot find them. I keep a back-up, but I need a way to fix this.

Question: I am familiar with the file settings in Windows, and I was playing around with the SAMBA server...is there a way to make it, so users CANNOT delete / move files, but can create them?

Thanks

3 replies

by oh smeg

Samba is a name for a Communication Protocol between Linux and Windows so we need to know which Distro you are using here.

Col

by jdclyde

If they have the abiltiy to change a file, they the ability to delete a file.

There is no way around that.

[i]"the ability to create gives the ability to destroy"[/i]

If they just need to READ the files, on the linux server change the file permissions.

chmod 622 *

gives owner read/write and all others just read.

If multiple people need to change, then you have to make groups and then the permissions would be 662.

This discussion is closed to new replies.