LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Access HDB1 for users (https://www.linuxquestions.org/questions/slackware-14/access-hdb1-for-users-117811/)

Rivitir 11-19-2003 10:09 AM

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?

Skyline 11-19-2003 12:03 PM

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

Rivitir 11-20-2003 02:27 PM

What command do I use to figure out what my uid is?

Skyline 11-20-2003 05:03 PM

Open a console and type:

id username

(substitute username with whatever your username is)

Look for the

uid=xxx

LinFreak! 11-20-2003 07:09 PM

also try:

man fstab

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


All times are GMT -5. The time now is 02:50 PM.