Re: [Samba] How to make "Add permission" for folder in system with ntacl support?
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 http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html and this section, in particular http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id374339 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, Georgy 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. -- Toby Bluhm Midwest Instruments Inc. 30825 Aurora Road Suite 100 Solon Ohio 44139 440-424-2240 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How to make "Add permission" for folder in system with ntacl support?
Definitely possible in Samba. Start with the correct POSIX permissions on the directories, then follow the references below. This chapter, in general http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html and this section, in particular http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id374339 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, Georgy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] How to make "Add permission" for folder in system with ntacl support?
Yes, it is possible to do this in Samba with Linux ACL support. You have to look at setfacl. There are two types of permissions that you can set using setfacl. The first are permissions on the directory or file itself. For example, this sets the group ntadmins to read/write/execute on the directory /home/ntadmins: setfacl -m g:"ntadmins":rwx -R /home/ntadmins Now, the second type of permissions apply to any file (or directory) that is created in /home/ntadmins: setfacl -m d:g:"ntusers":--- -R /home/ntadmins The effect of the second setfacl command says that the group ntusers will be explicitly given no access to any file or directory created in /home/ntadmins. So, if you're trying to create a dropbox for a group staff, it would look something like this: setfacl -m g:"staff":rwx -R /home/dropbox setfacl -m d:g:"staff":--- -R /home/dropbox What this does is allow them to add files to the directory, but immediately strip their permissions once the file is uploaded. Try this out. I hope it does what you want. > From: [EMAIL PROTECTED] > To: samba@lists.samba.org > Subject: Fw: [Samba] How to make "Add permission" for folder in system with > ntacl support? > Date: Sun, 14 Oct 2007 22:49:34 +0300 > > Is it too simple and therefore noone will answer? :) Or it is not possible > with Samba on Linux? > > Thanks, > G. > > > > - Original Message - > From: "Georgy Goshin" <[EMAIL PROTECTED]> > To: > Sent: Thursday, October 11, 2007 6:34 PM > Subject: [Samba] How to make "Add permission" for folder in system with > ntacl support? > > > > Hi, > > > > On windows nt is possible to configure permission when users can add files > > to share or folder but can't read and even list files in this share or > > filder. Is it possible to make this with samba fileserver? > > > > > > Thanks, > > G. > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/listinfo/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba _ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba