Network share only for root?
I have network share which is listed in fstab as
Code:
//fnd/public /fnd cifs noserverino,guest,nolinux,iocharset=utf8,rw 0 0 Folder /fnd, when not mounted, is owned by user darkduck. But once mounted this folder is owned by root. Hence, I cannot edit, delete, move files within this folder, unless I do something like gksudo nautilus or sudo mc. I tried to mount adding uid=1000,gid=1000 parameters. This allows me to create files, but not edit or delete them afterwards. Folder itself is on the external network drive with hardware built-in samba. There is no user/password configuration for access on drive side. Actually I was able to work normally with this folder until recent. But then situation changed, I don't know why and when. Same situation for Ubuntu 10.10 and Debian 6.0. I searched for solution, but only found unresolved topics. |
Hi darkduck, Welcome to LQ. Have you tried adding a umask option or dmask & fmask options to your fstab?
Good luck. ;-) |
umask option is not available for cifs.
dmode and fmode are deprecated. Anyway, thanks for the direction. Sorted issue in Debian with Code:
//fnd/public /fnd cifs noserverino,nolinux,guest,iocharset=utf8,rw,file_mode=0777,dir_mode=0777 0 0 |
Glad you got it sorted.
Good luck. ;-) |
All times are GMT -5. The time now is 02:57 PM. |