LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-27-2003, 07:48 AM   #1
TongueTied
Member
 
Registered: Aug 2003
Distribution: SuSE 8.1 pro
Posts: 94

Rep: Reputation: 15
Question change access permissions on Samba share from win2k?


I realise this sort of question comes up quite a bit and I have read and tried a number of the solutions suggested with no real results.

I have Samba 2.2.5 running on SuSE 8.1 acting as the PDC and file server for with a number of win2k machines. I would like the windows machines to be able to change permissions on the files that reside on the Samba share? How do I accomplish this?

I have tried all sorts of configurations and right now I have everything set to 777 as follows:

From smb.conf
create mask = 0777
force create mode = 0777
force security mode = 0777
directory mask = 0777
force directory mode = 0777
force directory security mode = 0777
force unknown acl user = 0777

I had assumed that this would enable anyone to do just about anything. However, when I try to change a permission on a file or directory on the Samba share from the windows machines, I get an error saying I am unable to save permission changes.

The idea was that there would be a public folder that was open and unrestricted (to and extent) and once I figured out how to deal with the permissions issue, I would start to tighten up the settings.

Any ideas?
 
Old 08-30-2003, 06:30 PM   #2
docv
LQ Newbie
 
Registered: Aug 2003
Distribution: Red Hat
Posts: 16

Rep: Reputation: 0
I would suggest that you install (on your linux box) and use Webmin. It is VERY easy to setup proper permissions for SAMBA shares. You can get it at:

http://www.webmin.com
 
Old 03-25-2011, 03:28 PM   #3
tsg
Member
 
Registered: Mar 2008
Posts: 155

Rep: Reputation: 30
This is old, but in case somebody stumbles across it looking for an answer (as I did), make sure the filesystem the share is on is being mounted with acl enabled. The default for ext2, 3 and 4 seems to be without acl support.

Try
Code:
mount -o remount,acl /path/to/share
If it works, put it in your fstab.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Samba: Can see share but not access? Permissions issue? lsgko Linux - Software 2 09-05-2005 11:44 AM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 02:02 PM
change access permissions on Samba share from win2k? TongueTied Linux - Software 1 08-27-2003 05:00 PM
Samba Printer Share on Win2K Access Denied, No Connection available MobbyDick Linux - Software 38 07-17-2003 11:12 AM
Write access to a Win2K share... fxlee Linux - Networking 2 05-17-2002 10:04 AM


All times are GMT -5. The time now is 02:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration