LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to use "chattr" (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-chattr-722009/)

thetotzky04 04-27-2009 10:27 AM

How to use "chattr"
 
Hello everyone,
Someone can teach me how to use the "chattr" command?
Or how can I apply this for making a file server using samba?
man chattr in not enough for me to understand it.. :(

repo 04-27-2009 10:28 AM

what do you want to do ?

thetotzky04 04-27-2009 11:34 AM

Quote:

Originally Posted by repo (Post 3522523)
what do you want to do ?

I want to create a file server like for example I have a one folder and in that folder I have 4 users with different permissions to other existing folder from my server.

My instructor wants me to build a file server and he said I'll need/use this command for that exercise.. :(

repo 04-27-2009 11:41 AM

From the LQ rules
Quote:

Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
Read your course, read the man pages, use google.
Show us what you have already done to solve the problem..

thetotzky04 04-27-2009 12:12 PM

Quote:

Originally Posted by repo (Post 3522612)
From the LQ rules


Read your course, read the man pages, use google.
Show us what you have already done to solve the problem..

This is the lay-out of what I need to be done.

http://www.MyspaceImageCodes.net/ima...1snapshot2.jpg


This is my unfinished configuration
He said that I need the "ln" and "chattr" command.

#My Exercise
[MAIN FOLDER]
path = /usr/etc/MAINFOLDER
valid users = User1 User2
inherit permissions = yes
comment = none
browseable = yes
public = yes
writeable = yes


All times are GMT -5. The time now is 08:45 AM.