Announcement

Collapse
No announcement yet.

Network share only for root?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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
    File fstab is owned by root, as it should be (I believe).
    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 kdesudo dolphin 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 (K)ubuntu 10.10 and Debian 6.0.
    http://linuxblog.darkduck.com

    #2
    Re: Network share only for root?

    Originally posted by darkduck
    I have network share which is listed in fstab as
    Code:
    //fnd/public /fnd cifs noserverino,guest,nolinux,iocharset=utf8,rw	0	0
    First thing I'd do is change the mount point from /fnd to /mnt/fnd.

    Next, add this to your fstab entry:

    Code:
    file_mode=0777,dir_mode=0777,auto
    Then, as root, mount -a and see what happens!
    Xenix/UNIX user since 1985 | Linux user since 1991 | Was registered Linux user #163544

    Comment


      #3
      Re: Network share only for root?

      I found an answer...

      http://linuxblog.darkduck.com/2011/0...ows-share.html
      http://linuxblog.darkduck.com

      Comment

      Working...
      X