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
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?
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.
Summary: just remember that that command has given full permission to anyone accessing your system to read /write and execute any file on the drive.... :) ...
Summary: When I copy files from Linux to Win98 directory, I get the Message "Can't change permissions for file /dir/filename".The copying is other way successfull accept this Message. When I'm loged as root, I...
Summary: Hello! I am quite a novice to Linux, but in four days I have got in love with RH8. My problem: I want to share my Win XP documents with linux. I have mounted the partition as vfat, but I can only read...