PDA

View Full Version : CIFS Read-only


MaxTakeoff
5th November 2006, 06:13 PM
Hi, I've been googling this for ages and can't seem to get anywhere. I've found quite a few examples of similar problems but no solutions that work for me, so I hope that someone can give me a nudge in the right direction.

I have a samba server set up on an old PC running FC1 and have given read/write access to user 'xbox' on a directory called /home/music.

On my laptop running FC6 I have the following line in my /etc/fstab

//Server/music /mnt/samba/music cifs rw,user=xbox,password=password,uid=500 0 0

I tried changing it to use a credentials file as follows,

//Server/music /mnt/samba/music cifs rw,credentials=/root/credentials.txt,uid=500 0 0

but no matter what I did with file permissions I kept getting unable to read credentials file errors. That's one issue.

Moving on though, once logged in I can see all the files in /mnt/samba/music and play them in xmms but I can't write to the directory to rename a file or anything, even if I try to rename a file as root I get permission denied errors.

Any help would be appreciated. Thanks.

I just tried giving write access to the share directories for the group 'users' on my FC1 box and found that I can now write to the directory as root but still no joy for other users. Thanks.