On Tuesday 23 February 2010 14:54:29 Hans de Faber wrote:
On 23/02/10 12:38, lynn wrote:
On Tuesday 23 February 2010 10:37:54 you wrote:
On 23/02/10 10:04, lynn wrote:
On Tuesday 23 February 2010 07:43:28 you wrote:
On 22/02/10 20:06, lynn wrote:
Hi
I'm mounting a cifs share on my computer like this as root:
mount -t cifs //nas/part2 lynnnas -o rw,user=guest,password=""
How do I mount it so that a user can write to the lynnnas directory? At the moment only root can write to it which is a real pain.
I can read and write to it as a user if I use smb:/nas/part2 with dolphin but not if I use the mount command.
Thanks, L
Look at the owner and the protectionfields of lynnnas to whome this share is writable.
Hans
I have:
drwxr-xr-x 2 lynn users 4096 2010-02-22 19:52 lynnnas
The problem is that root owns everything in lynnnas
Than change the owner: mount -t cifs //nas/part2 lynnnas -o rw,uid=lynn,user=guest,password=""
Succes, Hans
Ok. Thanks for your patience. I did this as root.
mount -t cifs //nas/part2 lynnnas -o rw,uid=lynn,gid=users,user=guest,password=""
now everything in lynnnas is owned by lynn:users and is universally rw.
I can create a file lin lynnnas and I can save it ONCE only. If I try to edit it it says I do not have write access even though the file is universally rw and owned by lynn:users.
I can only think that this is a bug.
Thanks. L x
Oke, now everything on your desktop is as it should be, now look at the nas-server. On the nas you enter it as user guest what are the rights of user guest on the nas. Maybe you have to create specific account on the nas that has more rights and use that account. Because I don't have a nas I can't help further.
Solong, Hans
Thanks for trying Hans. If anyone has any clues as to why i can't write to the NAS, here is smb.conf on the NAS: cat smb.conf [global] load printers = no disable spoolss = yes syslog = 1 security = share dns proxy = no debug level = 0 netbios name = NAS workgroup = MSHOME server string = Samba Server [rec] guest ok = yes comment = Rec Partition path = /usr/local/etc/hdd/dvdvr writable = no read only = yes [part1] guest ok = yes comment =HDD Partition 1 path = /usr/local/etc/hdd/volumes/HDD1 writable = yes read only = no [part2] guest ok = yes comment =HDD Partition 2 path = /usr/local/etc/hdd/volumes/HDD2 writable = yes read only = no Anyone able to help I'd be most grateful. Thanks L. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org