permission denied to a samba server user
I have configured samba server.My requirement was that the path which i have to share was /srv/www/htdocs.With this the shared path for developer user was /srv/www/htdocs/projects.So in the smb.conf file i made the entries as following:
[share] path=/srv/www/htdocs valid user = root browseable = yes writable = yes [developer] path = /srv/www/htdocs/projects browseable = yes writable = yes After that root user was able login to both /srv/www/htdocs and also project folder and developer was only able to login to projects folder.That was according to my requirement but now the problem is that when developer is trying to edit any file in projects folder he is getting error that you dont have permissions to change this file.But developer should be able to edit any files.What changes i need to do now. |
what gives the permission error?
actually try this on developer machine to post the error: echo 1 >> $FILE_ON_THE_SHARE (it won't overwride, it will try to append to the file.) |
What user account is developer logging in with? If the files are owned by root, he won't be able to access those files.
-Rigor |
As you mentioned valid users=root, non other will have access so in order to access by developer you need to add a user=developer or chown of file s to developer rather than root
|
All times are GMT -5. The time now is 10:01 PM. |