LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-13-2004, 01:38 PM   #1
batterseapower
LQ Newbie
 
Registered: Dec 2004
Location: United Kingdom
Distribution: Gentoo Linux
Posts: 2

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


Hi!

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:

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

Code:
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!

Batterseapower
 
Old 12-13-2004, 08:47 PM   #2
metalick
Member
 
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, 01:01 AM   #3
batterseapower
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.

Batterseapower
 
  


Reply



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 07:20 AM
uploaded file on vsftpd has wrong file attributes rune.kg Linux - Newbie 2 03-06-2004 09:23 AM
Getting Samba to store DOS read only attributes nwykes Linux - Newbie 0 11-18-2003 06:07 AM
file attributes binky22 Linux - Newbie 2 09-26-2003 04:17 PM
Changing file attributes from C sourceman Linux - General 3 04-23-2002 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 AM.

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