Computing.Net > Forums > Linux > file read/write permissions

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

file read/write permissions

Reply to Message Icon

Name: Frank Mimbs
Date: July 31, 2002 at 16:21:21 Pacific
Comment:

I'm using Redhat 7.3 as a windows NT domain controller. I have a slave drive set up for public access on the network.
I also have all my users in a group called ASYS.
The problem I'm having is that when any user creates a file on the public drive, other users have read-only access to the file. When I look at the file properties, it shows that the group, ASYS, does not have write permissions on the file.
How can I configure things so that my group has write access to files when they are created?



Sponsored Link
Ads by Google

Response Number 1
Name: RichM
Date: July 31, 2002 at 17:46:28 Pacific
Reply:

Is this a "public" network drive a samba share?


0

Response Number 2
Name: armin
Date: August 1, 2002 at 03:49:27 Pacific
Reply:

assuming ure using samba, check the smb.conf for "create file mask" or "file create mask" (i dont remember the exact name) and set it to 775 for the selected dirs
man smb.conf


hth


0

Response Number 3
Name: Frank Mimbs
Date: August 1, 2002 at 08:58:27 Pacific
Reply:

YOU FIXED IT!
Yes it is a samba share, and changing the permissions to 775 did the trick.
Thanks for taking the time to help me out, 'cause it saved my butt.

Here's what I did for all you others who may have this problem.

I opened /etc/samba/smb.conf and looked for the section called Public. I then added the following lines under Public:

create mode = 775
directory mode = 775

That's it. Then I restarted samba and everything is now fine.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: file read/write permissions

write permission on fat32 www.computing.net/answers/linux/write-permission-on-fat32/3479.html

files permissions on Win98 local www.computing.net/answers/linux/files-permissions-on-win98-local/10683.html

Write permission for FAT32 www.computing.net/answers/linux/write-permission-for-fat32/16229.html