1830242 Members
2172 Online
109999 Solutions
New Discussion

problem with samba

 
SOLVED
Go to solution
K.C. Chan
Trusted Contributor

problem with samba

All,
I am on Redhat7.3. I have mounted samba filesystem from win2k advance server, via mount -t smbfs as root. However, regular user does not have permission to write to directories below the mount point. I've try chown and chmod, but it does not work. When chmod, permission stays the same. When chown, I've got an error "permission not allow"; I can't changed the ownership. This is all done as root. Does this have something to do with the source; the filesystem being mounted is from a win2k advance server. Is this a problem on the win2k server? How would I give permission to the a user to be able to write the directory below the mount points? Thanks for your help.
Reputation of a thousand years can be determined by the conduct of an hour
2 REPLIES 2
Stuart Browne
Honored Contributor
Solution

Re: problem with samba

read:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbe530fe6d0f7d61190050090279cd0f9,00.html

I answered this last week or so.
One long-haired git at your service...
Andrew_102
New Member

Re: problem with samba

Mount command have many options for resolve your problem.


mount -t smbfs -o uid=NNN gid=NNN mode=775


Set owner UID and GID for mount point.
Set mode to RWX,RWX,RX

etc etc


--
Sincerely,
Andrew A.Romanchenko
Programmer of Rapid Internet Development Department
Alar Information Technologies, www.alarit.com
[url]www.alarit.com[/url]