LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SAMBA Read/Write permissions (https://www.linuxquestions.org/questions/linux-newbie-8/samba-read-write-permissions-112068/)

Tenover 11-03-2003 08:48 PM

SAMBA Read/Write permissions
 
I'm a little stuck here.....I'm accessing a Linux RH 7.3 server from Windows machines, and while I can *see* a folder, and all it's contents, I, or anyone else, can't seem to write to it. The Samba permissions are set so that we all have access to it with 775 privleges. The actual path to the Samba share is in /var/www, so do you think it's an issue within Samba or within the actual permissions on the /var or var/www filesystem? Thanks.

Tinkster 11-03-2003 09:23 PM

Post the output of
ls -l /var/www
and the matching section of smb.conf

Cheers,
Tink

daveo 11-04-2003 05:22 AM

Re: SAMBA Read/Write permissions
 
Quote:

Originally posted by Tenover
I'm a little stuck here.....I'm accessing a Linux RH 7.3 server from Windows machines, and while I can *see* a folder, and all it's contents, I, or anyone else, can't seem to write to it. The Samba permissions are set so that we all have access to it with 775 privleges. The actual path to the Samba share is in /var/www, so do you think it's an issue within Samba or within the actual permissions on the /var or var/www filesystem? Thanks.
Try to add this as extra line in your smb.conf (under where you have made the share available)

writeable = yes

Hope this helps,

Tenover 11-04-2003 09:14 AM

Thanks for the replies...I figured it out this morning. The users who could NOT write were not members of the "apache" group, which I'm assuming you need to be in order to write to the <www> folder and subfolders.....As soon as I added them to the apache group, all was good.

daveo 11-04-2003 09:19 AM

Quote:

Originally posted by Tenover
Thanks for the replies...I figured it out this morning. The users who could NOT write were not members of the "apache" group, which I'm assuming you need to be in order to write to the <www> folder and subfolders.....As soon as I added them to the apache group, all was good.
it might be a good idea to make an extra group. It's not a good idea to make users member of the group apache, since apache group is for apache only. Add a group named samba-users or something. And wy are you using /var/www as the samba dir?

Tenover 11-04-2003 12:45 PM

Trust me, you don't want to get into it.....But to make a long story short, We use a genetic sequencing database and users need to dump their data into a directory under /var/www/html/mycompany/usersdata so it get's processed via an httpd daemon. I didn't set it up, I'm just trying to maintain it. I'm sure there's other ways to do it, but I'm still learning how to Administer Linux. Thanks again.


All times are GMT -5. The time now is 08:03 AM.