Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-13-2004, 02:38 PM   #1
LQ Newbie
Registered: Dec 2004
Location: United Kingdom
Distribution: Gentoo Linux
Posts: 2

Rep: Reputation: 0
Samba 3.0.8 And DOS File Attributes?


I'm trying to set up Samba for a network full of Windows boxes so that it honours DOS file attributes (hidden, archive etc etc). Now, I've done a LOT of searching, and thats led to me adding the following lines smb.conf in global:

map acl inherit = yes
map archive= no
map hidden = no
map system = no
store dos attributes = yes
And the following in the share:

dos filemode = yes
dos filetimes = yes
If I've got this right, that SHOULD let me change DOS attributes by storing even if I'm not the owner of the file by storing them in an extended attribute (yes they are in the kernel).

BUT, this dosen't work. If I try and change the property with Explorer, it tells me "Access is denied". What have I done wrong?

Thanks in advance!

Old 12-13-2004, 09:47 PM   #2
Registered: Apr 2004
Location: Zagreb, Croatia
Distribution: SuSE 9.0
Posts: 44

Rep: Reputation: 15
Check the Security modes in smb.conf
create mask, force security mode etc...
Old 12-14-2004, 02:01 AM   #3
LQ Newbie
Registered: Dec 2004
Location: United Kingdom
Distribution: Gentoo Linux
Posts: 2

Original Poster
Rep: Reputation: 0
I don't think there are any security settings which are causing problems.. I'm using ACLs, and I can write files to the directory as the user that I am trying to modify the file attributes with, which leads me to think it's not to do with security especially.



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
Can't change attributes on a samba-shared file from win98 zen_guerrilla Linux - Networking 0 03-16-2004 08:20 AM
uploaded file on vsftpd has wrong file attributes Linux - Newbie 2 03-06-2004 10:23 AM
Getting Samba to store DOS read only attributes nwykes Linux - Newbie 0 11-18-2003 07:07 AM
file attributes binky22 Linux - Newbie 2 09-26-2003 05:17 PM
Changing file attributes from C sourceman Linux - General 3 04-23-2002 08:37 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 AM.

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