Cifs with no writing permissions

Paul Smith phhs80 at gmail.com
Thu Nov 26 20:28:01 UTC 2009


On Thu, Nov 26, 2009 at 7:40 PM, Steve Searle <steve at stevesearle.com> wrote:
>> 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.

Thanks, Steve. With inserting the uid and the gid, the problem was solved.

Paul




More information about the users mailing list