Jump to content

mounting shared drive


TheUsualAlex

Recommended Posts

Help! I have successfully mounted the windows shared drive on the network to my Linux machines via "mount -t smbfs ..........". But appearently, only the root user can rwx on the shared drive... is there any way I can change this so that any regular valid users can rwx on the shared drive? Currently, the rest of the users can rx the shared drive, but not w.

I have made sure that the shared drive have the permission for "Everyone" to rwx on that drive in Windows... Remount it on Linux, still the same...

Tried chmod as root. It won't allow me to change anything even as a root...

Is there anything else I can do...? I am out of ideas.

Thanks.

A;lex

Link to comment
Share on other sites

There are a parameter in the smb.conf - you can set the createmode (like (chmode). Here an example

--- snipp ---

guest ok = yes

valid users = nobody

writable = yes

create mode = 0777

public = yes

invalid users = new york rangers

-- snipp ---

Please set all directories at the share to nobody or a user like this and make sure - the directories are rwx for the user and all other users.

I hope this helps...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...