I am unable to write a text file from a windows PC to a folder in Unix. I am told I have no permission. I can see the unix server from network and browse to the folder but I cannot write to it. The permissions of the folder on the unix is drwxrwxrwx.

How can I agrant rwx permissions of a unix folder to a windows user. You kind assistance would be appreciated

Recommended Answers

All 5 Replies

How are you connecting to the folder? FTP, SMB, NFS?

I have samba on the unix server

So in the smb.conf you should have a section for the Share that you are having issues with.

Something like:
path = /blah/blah
valid users = user
browseable = yes

Check to see if you have a "read only" entnry set to yes in the section.

That would be my 1st guess.

I have below in my smb.conf
path = /gc/cust/valco/data
read only = No
writable = yes
guest ok = Yes

Is samba case sensitive? will add valid users and see the response I will get. Secondly if I have a user on a windows domain like e0152@valcotema, how can I add that or the user should be set up in the Unix?

I'm not not sure if it is case sensitive actually.... I always use lower case in conf files though. Did you change it, what was the result? Now I'm curious about that.

You have to add users to the local host in order to have them access the share when using the "valid users" parameter

smbpasswd -a johndoe

path = /blah/blah/
valid users = johndoe
read only = no
browseable = yes

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.