LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2003, 07:07 AM   #1
nwykes
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Getting Samba to store DOS read only attributes


Hi,

I have a samba server that provides file storage for Windows users.

I have a requirement to be able to set the Read Only DOS attribute on some of the files that have been stored to control the actions of MS Word.

Currently if I try to set the value in the "Properties" of the file via the Windows interface the value is not stored.

I found this interesting article at:

(I can't post a URL as this is my first post, I can send it via email if required)

Which has a section that talks about settings such as:

map archive = yes
map system = yes
map hidden = yes

which all seem to work for me, however there does not seem to be a "map readonly = yes" option.

In the paragraph following these settings the following is quoted:

What about the read-only attribute? By default, Samba 2.0 sets this whenever a file does not have the Unix owner write permission bit set. In other words, you can set this bit by changing the permissions of the file to 555.

So is this saying that if I set the file to 555 that I will be able to use the attrib command or the dialogue box in Windows to retain the state of read only.

Or am I barking up the wrong tree?

Thanks in advance

Neil
 
  


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
read ms dos partition whylie Red Hat 2 09-11-2005 04:39 PM
Samba 3.0.8 And DOS File Attributes? batterseapower Linux - Software 2 12-14-2004 02:01 AM
Can a DOS foppy be read by Fedora can564 Linux - Newbie 4 05-03-2004 09:33 PM
Can't change attributes on a samba-shared file from win98 zen_guerrilla Linux - Networking 0 03-16-2004 08:20 AM
mkisofs can't read existing DOS file. breany Linux - Software 2 01-29-2004 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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