[Samba] How to make "Add permission" for folder in system with
tkb at MidwestInstruments.com
Thu Nov 1 12:16:54 GMT 2007
Georgy Goshin wrote:
>> Definitely possible in Samba. Start with the correct POSIX
>> permissions on the directories, then follow the references below.
>> This chapter, in general
>> and this section, in particular
>> with or without POSIX acl's should explain how to do what you want.
> Please please please. I've tried already combinations this weekend,
> spen two days and lost any understanding of logic of file permissions
> and gived up! Please make someone for me small sample please!
> Thanks in advance,
I believe your original message said you wanted a directory that users
could only write to but not read?
On samba server:
sudo mkdir test
sudo chown root.root test
sudo chmod 733 test
Now anyone should be able to copy a file to test directory, but not read
it. Note - this will only work if you use copy in a cmd prompt. GUI file
explorer tools typically want to read dir content first - not possible
with these permissions.
Perhaps you should explain what you're trying to achieve - there may be
better ways to do it.
Midwest Instruments Inc.
30825 Aurora Road Suite 100
Solon Ohio 44139
More information about the samba