Jump to content

Mounted Directory Permissions Problem


unclebyron

Recommended Posts

I mounted a Windows 2000 server shared directory called Public onto a Linux computer running Red Hat Enterprise Linux ES kernal 2.6.9-42. I can copy/move files into the directory from the Linux box only when I am running as root. When I am an ordinary user on the Linux box, I'm denied permission. The Windows Public directory is shared out with full privleges to the Everyone group both locally and on the domain. I've tried creating an account on the Windows box with the same login/password as the ordinary user on the Linux box with full rights to the Public directory but it still fails. From the Linux box, I tried as root to chown and chmod on the mounted Public directory to the ordinary user but it wouldn't change anything. I suppose because it was a mounted directory. I still shows:

 

drwxr-xr-x  1 root root 4096 Jan  6 16:19 Public

 

If I create a directory on the Linux box and make the owner the ordinary user, as soon as it is made the mount directory, the rights become what you see above again.

 

I've heard of linking an Unix/Linux account with a Windows account using the command smbadduser but it wasn't on my Linux distribution.

 

What can I do to give the ordinary user on the Linux box permission to copy/move files to the mounted Public directory?

 

 

Link to comment
Share on other sites

Have you tried changing the rights again?  Have you tried doing it under the normal user using sudo?  I've only used Samba a couple of times though, and my setups involved folders that required authentication, so I could be entirely off ;p.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.