Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have configured a Samba Domain and have shares in it, when any user from windows machine create any file any share and try to add or remove any users from security (under properties) it says "Unable to change Permission changes <Filename> Access Denied", can any1 tell me how to enable this plz. The users am trying to give permission are valid users and have account in linux machine and there entry is also there in smbpassword file.
I don't understand why users need to add or remove users from windows.
I think you need to be more clear in what exactly you need to do?
Sorry
I didn't get ths??
when any user from windows machine create any file any share and try to add or remove any users from security (under properties) it says "Unable to change Permission
i have my samba share configured and users can access it, write in it, delete etc. Now multiple users create mutliple files Say User1 has created a file which should be access only by User3 and User2 should not access it , all the users( i.e User1 User2 User3) are allowed to access Samba Share. In order to achieve this I need to change the access permission on the file or directory by removing the users which we dont want to access n adding the users. Im just trying to achieve this. Hope am very clear now
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Rep:
The only way I have been able to achieve your desired result is by setting up groups. You can then set up the shares based on who you want to be able to access the share. It will take some coordination to set it up and will require the users to put the files in the correct share for access, but it will work. The same logic can be applied to the folders within the share if you set the groups up correctly. And also the files. But it will take some time to think through it all and plan it out but it is definitely able to be done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.