LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2006, 12:18 PM   #1
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
How to give write permissions to a disk


Hello everyone,

I am using slackware 11.0. I know all about file permissions
and the umask stuff. As root, I added the group family
using the groupadd command. I then created the directory
family in the /mnt directory. Then I ran the command
chown root:family /mnt/family and chmod 775 /mnt/family.

As root, I mounted the disk and was able to read and write. Next, I login as a normal user. I can only read and not write to the disk. When I want to write to the disk, I have to login as root everytime. It becomes tedious after awhile.

I appreciate your help. Thanks
 
Old 12-16-2006, 12:49 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Did you remember to add group 'family' to the users?

usermod -a -G family userid

You have to logoff and log back in for a group change to take effect. You can verify that you are part of the 'family' group by issuing the command:

groups
 
Old 12-16-2006, 01:03 PM   #3
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by macemoneta
Did you remember to add group 'family' to the users?

usermod -a -G family userid

You have to logoff and log back in for a group change to take effect. You can verify that you are part of the 'family' group by issuing the command:

groups
No, I forgot that part. Tried it and it works. Thanks for your expertise
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to give user bigger write permissions nephish Linux - Security 5 12-15-2006 12:57 PM
Want to write to folder, but, don't want to give 777 rights suruchiparimu Linux - Security 2 02-08-2006 10:11 AM
Give user write access to htdocs kvnband Linux - Security 9 12-30-2005 01:35 PM
how to give a nonroot user write access Kilahchris Linux - Newbie 8 05-11-2005 02:10 AM
give users permissions to write dragosp Linux - Security 2 09-12-2004 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration