Computing.Net > Forums > Linux > Limited permissions on one folder

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.

Limited permissions on one folder

Reply to Message Icon

Name: AlPete
Date: March 2, 2006 at 10:26:23 Pacific
OS: SUSE 9.0
CPU/Ram: AMD 700MHZ 512
Product: beige box
Comment:

A simple command no doubt, but it escapes me:

I need to allow only TWO users on the same machine (root and "franken") to have read, write and delete permissions allowed over the contents of a single network-shared folder. Everybody else on the network is read only.

I'm certain there is a simple solution, but being a new user I haven't found it yet. Help anyone please? Thx.



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: March 3, 2006 at 02:26:52 Pacific
Reply:

Root can have pretty much read/write/execute
permissions anyway on everything so it is
more likely that you need to restrict the
file just down to the other user. GNU/Linux
files and directories can have 3 permissions
set (read, write and execute) for 3
different catagories (owner, group and
everyone). You can change the ownership of
something with "chown", the group with
"chgrp" or more complicated permissions with
"chmod". I would suggest having the file as
read/write for the owner franken, have
read/write for the group root and read only
for everyone else.

$ chown franken /path/to/file
# chgrp root /path/to/file
$ chmod 664 /path/to/file

$ man chmod
for more info....


0
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: Limited permissions on one folder

Folder permissions www.computing.net/answers/linux/folder-permissions/24877.html

Migrating NTFS permissions to SMB www.computing.net/answers/linux/migrating-ntfs-permissions-to-smb/23604.html

Permissions on RedHat 7.0 www.computing.net/answers/linux/permissions-on-redhat-70/23688.html