Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.