This is a snip from my smb.conf file
====share definations ====
[shared]
path = /home/shared
public = no
browseable = no
writable = yes
printable = yes
read only = no

At prompt, typing "ls -l /home/shared," I get
-rwx r- - r- -    1     user1     users      size    date    time
filename.xls (this is a MS Excel file)
(at this point, user2 can "read only" the file)

Then by the command "chmod a+rwx filename.xls" , I get
-rwx rwx rwx    1   user   1    users    size    date    time    filename.xls

Now, after user2 accesses the file, the command "ls -l /home/shared" yields
-rwx r- - r- -   1    user2    users   size    date   time    filename.xls
(user1 now  can "read only" the file)

A bit confusing but how can get the "chmod" command to be permanent, i.e.
rwx for both user1 and user2? I even tried "chmod a+rwx /home/shared" but
same result.

TIA,
Shaggy
Bangkok, Thailand


Reply via email to