LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-19-2003, 11:09 AM   #1
Rivitir
Member
 
Registered: Feb 2003
Location: /home
Distribution: Gentoo, Slackware, Debian, & CentOS
Posts: 69

Rep: Reputation: 15
Access HDB1 for users


Last night I was attempting to figure out how to allow my user account full access to hdb1. During setup I had the installer setup hdb1 in /hdb1 (keep in mind it's formatted as FAT32 no OS installed just used as storage). I logged in as root and tried (not in any particular order):

1 $chmod 777 /hdb1
2 $chmod -R 777 /hdb1
3 $chmod -R -c 777 /hdb1
4 $chmod -R -c ugo+rwx /hdb1
5 $chmod -R -c ugo=rwx /hdb1
6 $chgrp users /hdb1

None of this worked, when I used $chmod -R 777 /hdb1 is went through all files and said that it worked however when I ran ls -l it showed this:

drwxr--r-- /hdb1

So I tried $chmod -R -c 777 /hdb1 and this said that that action was not permitted. Everytime I tried the chmod 1 & 2 it said it ran but it didn't do anything. 3-5 said that this action is not permitted.

Any suggestions?
 
Old 11-19-2003, 01:03 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Yoiu could try putting your user id number ie uid=........ and umask=000 in the 4th field (options) of the relevant entry in /etc/fstab - something like:

/dev/hdb1 /hdb1 vfat umask=000,defaults,uid=501 0 0[/b]

substitute in your uid number in place of my example uid=501

Last edited by Skyline; 11-19-2003 at 01:07 PM.
 
Old 11-20-2003, 03:27 PM   #3
Rivitir
Member
 
Registered: Feb 2003
Location: /home
Distribution: Gentoo, Slackware, Debian, & CentOS
Posts: 69

Original Poster
Rep: Reputation: 15
What command do I use to figure out what my uid is?
 
Old 11-20-2003, 06:03 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Open a console and type:

id username

(substitute username with whatever your username is)

Look for the

uid=xxx
 
Old 11-20-2003, 08:09 PM   #5
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
also try:

man fstab

helped me no end.
[no sarcasm intended:~]
 
  


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
Other accounts can't access partition "hdb1" Starch Linux - Newbie 1 01-28-2005 10:39 PM
Samba access by Windows users locking out directory access with Konqueror harry_fine Suse/Novell 1 12-18-2004 06:33 AM
Internet Access For Users inkysplat Slackware 3 10-02-2004 04:45 PM
/mnt/hdb1 - only su access (NTFS) WannaLearnLinux Linux - General 9 03-14-2004 01:44 PM
hdb1 access suddenly EXTREMELY slow... vance Linux - Hardware 3 06-14-2003 08:29 PM


All times are GMT -5. The time now is 04:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration