1833768 Members
1892 Online
110063 Solutions
New Discussion

Re: ready only access

 
amipankaj
Frequent Advisor

ready only access

hello experts,

here i have a doubt.

how i can give ready only access to a user on a server?

please advice.

thanks in advance.
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: ready only access

You want the user to be able to read files but not write them?

That would mean you would have to make sure that he isn't any group, that files allow group write. And any files owned by that user couldn't have write permission.
The user would be allowed to write to /tmp and /var/tmp.
Analyst
Trusted Contributor

Re: ready only access

1.we can assign permission for files to which the user is going access.
2. create a group and assign the rights to that as read only.
using chown,
chmod
chgrp commands.


unixguy_1
Regular Advisor

Re: ready only access

Hi Amipankaj,

First, u will see the that user is in anyother group then,

use chmod and chwon command to set that user writes as a read only.

Regards,
Unixguy.

amipankaj
Frequent Advisor

Re: ready only access

thanks guys....the user is new...i just supposed to create account for them.
amipankaj
Frequent Advisor

Re: ready only access

thanks guys...