Find the answer to your Linux question:
Results 1 to 2 of 2
Hello! I am using a Linux client (running Ubuntu) that is trying to connect to a Windows share. I have a line in fstab that looks like this: //192.168.11.1/C /c ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    1

    Permissions problem connecting to Windows share


    Hello!

    I am using a Linux client (running Ubuntu) that is trying to connect to a Windows share. I have a line in fstab that looks like this:

    //192.168.11.1/C /c cifs defaults,credentials=/etc/smbpasswd,domain=MY_DOMAIN,iocharset=iso8859-1,file_mode=0777,dir_mode=0777,umask=777 0 0

    Some of those options might be unnessary (I'm not sure what umask does).

    It generally works. My problem is that when I create a new file on this share (from linux), the permissions on the brand new file are:

    -rw-r--r-- 1 root root 0 Dec 17 18:50 6

    when I want them to be 777.

    Interestingly, if I unmount and then re-mount the share, the same file changes to 777 permissions.

    How can I make new files be read+writable by everyone?

    TIA

  2. #2
    Just Joined! werner's Avatar
    Join Date
    Apr 2008
    Posts
    27
    Correct me if I'm wrong...but I think a Windows filesystem does not support Linux permissions. When you send a file from Linux to Windows, it loses it's permissions and becomes world-readable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •