LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-17-2007, 09:56 PM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
samba: windows file access permission


hey all

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.
 
Old 09-18-2007, 04:13 AM   #2
prajakta0shimpi
LQ Newbie
 
Registered: May 2007
Posts: 16

Rep: Reputation: 0
Need more...................

Hey,

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
 
Old 09-18-2007, 07:10 AM   #3
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
It takes someone with administrator rights to change the file access/permissions.
 
Old 09-18-2007, 10:19 PM   #4
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
here is what i want to achieve:

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
 
Old 09-19-2007, 10:23 AM   #5
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
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.
 
Old 09-25-2007, 02:01 PM   #6
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
Thanks for ya reply though i did the thing u said and after that i read ur post how stupid i was lol anyway thanks for reply
 
  


Reply

Tags
samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access my linux share through samba. I get permission denied. mlsbraves Linux - Software 1 08-16-2005 07:59 PM
Setting permission, file access. Apogeal1 Linux - Newbie 5 06-20-2005 08:17 PM
Windows XP: no permission to access samba 1veedo Linux - Hardware 1 01-14-2005 08:24 PM
I can't use samba to access the file on Windows workstation kassey Fedora 3 11-23-2003 01:07 PM
access samba file from windows XP slow. lohdavid Linux - Networking 1 08-27-2003 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration