Discussion Locked

Need to give password to file

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Need to give password to file & folder in Redhat7.2. Is it possible or not?

5 replies

by rbgnr111

you would need to do this using user or group
rights. you can change group ownership using:
chgrp
users are done like this
chown
to set the rigths:
chmod XXX
X = 0-7 the first # is the owner, second group,
and last everyone
0=no rights
1=execute
2=write
4=read
add the numbers to = 0 - 7

-R will set rights on all files and directories
contained in a direcotry too.

This discussion is closed to new replies.