You are not logged in.
I'm manually mounting a Windows 7 share with mount.cifs using this command:
mount.cifs //192.168.1.33/myshare /home/myuser/smbshare -o user=****,password=****,iocharset=utf8,rw,gid=100,uid=1000
It mounts perfectly fine and the dir is owned by my user. The problem is that I get permission denied when trying to create directories or files even with root powers.
I've tried setting file_mode= and dir_mode= to 0664 and even 0777 but my mkdir atttempts keeps getting denied? Again root has no power.
I've googled for a hour at least without any viable results besides a slight rumble of frustation nested deep within, so any ideas are very welcome.
Last edited by Ashren (2010-02-01 14:32:02)
Offline
Ok, I might have to look at permissions on the windows side I guess.
Offline
Doh. Turned out I needed to set write permissions for my user in Win 7.
Offline
Doh. Turned out I needed to set write permissions for my user in Win 7.
Hi, I'm having the same problems with my Sitecom Network storage router.
It's runing Samba and I want to be able to mount the shares in my home directory. I'm executing
mount -t cifs \\\\router\\share mountPoint -o user=U,password=P,uid=UID,gid=GID
where:
mountPoint=local directory in ~/ like, ~/Shared/mountPoint
U=name of the user I've added to the NAS on the router via the http:// interface
P= password of the share user on the router
UID=user id of the local user on the computer
GID=group id of the local user on the computer
Everything goes without an error reported, but then i use
ls -l
on the directory and see that it's size is 0.
When I try to write either as root or as a normal user, i get the error 13: Permission denied. You have solved this by adding write permissions on Windows, but I've set everything I could to be read/write on the router http:// interface... any suggestions?
Thanks
and yeah, could you please remove [SOLVED], or should I start a new thread? Thanks....
Last edited by tomislavski (2010-02-16 09:43:51)
Offline
I think you need to create a new thread since this problem relates to NAS and not WIn 7 directly.
Last edited by Ashren (2010-02-16 10:31:11)
Offline
I think you need to create a new thread since this problem relates to NAS and not WIn 7 directly.
Cool, thanks for the swift answer!
Offline