Cifs with no writing permissions

Steve Searle steve at stevesearle.com
Thu Nov 26 19:40:12 UTC 2009


Around 07:27pm on Thursday, November 26, 2009 (UK time), Paul Smith scrawled:

> I have just upgraded from F11 to F12, and now when I mount a samba
> partition with command
> 
> mount -t cifs -o iocharset=iso8859-1,user="xxx",rw //xxx /mnt/mydir
> 
> I do not have writing permissions on the mounted directory.
> 
> Any ideas?

This works for me:

mount -t cifs -o
credentials=/etc/samba/steve.cred,exec,uid=steve,gid=steve,dir_mode=0755,file_mode=0644 //peregrine/img2 /img.peregrine

Have a look at the two mode arguments.

Steve

-- 
 
(o<     www.stevesearle.com
//\     Powered by Fedora
V_/_    No MS products were used in the creation of this message

 19:38:37 up 21 days, 55 min,  1 user,  load average: 0.00, 0.00, 0.02
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20091126/bd5c089f/attachment-0001.sig>


More information about the fedora-list mailing list