unclebyron Posted January 7, 2009 Share Posted January 7, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/139900-mounted-directory-permissions-problem/ Share on other sites More sharing options...
corbin Posted January 8, 2009 Share Posted January 8, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/139900-mounted-directory-permissions-problem/#findComment-732172 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.