LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-29-2003, 09:33 AM   #1
John Silva
LQ Newbie
 
Registered: Oct 2003
Posts: 10

Rep: Reputation: 0
Slackware 9.1 user needs help...!!!


Hi!

I have just burned and installed slackware 9.1 but being used to RH 9 i now can't find how to do some things or why things work so differently. Now my main problem is that i'm not able to cd to a fat partition with a regular account, only as root. so, i tried loging as root and changing permissions on the partition (/mnt/drive.d) but when i use chmod it won't change anything. Can u please enlighten me on this matter. thx in advance for your help.


Best regards,

John Silva
 
Old 10-29-2003, 09:42 AM   #2
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
One way you could solve your problem would be to add this line to your /etc/fstab

/dev/hda7 /mnt/vfat vfat umask=000 1 0 (this is what I use)

but change the location and mount point to yours. The umask=000 will give everyone full access read, write, and execute. This will also get mounted automatically at boot.
 
Old 10-29-2003, 09:50 AM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
if your partition is already mounted, you will have to reboot to get the new permissions working. I don't know of an other way.
 
Old 10-29-2003, 10:53 AM   #4
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
The other way is remounting: 'mount /dev/<win> /mnt/drive.d -o remount'.
 
Old 10-29-2003, 10:59 AM   #5
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
thanks. That was so obvious too. I knew their had to be a better way
 
Old 10-29-2003, 11:46 AM   #6
John Silva
LQ Newbie
 
Registered: Oct 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Well, i tried using the umask=000 and it works now! perhaps some of u can tell me what that mask means and what are the possible values for it Thank u all for your help!

Best regards

John silva

Last edited by John Silva; 10-29-2003 at 11:47 AM.
 
Old 10-29-2003, 12:01 PM   #7
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
'umask=000' sets the default permissions for Windows drives to rwxrwxrwx. Since they don't support permissions, you have to specify them here. Values are the same used for the chmod command; to change permissions with chmod to rw-rw-rw-, you would run 'chmod 666 <file>'. For the Win drive, you would put 'umask=666'. The numbers are conjured like this:

For rwxrwxrwx:
r+w+x r+w+x r+w+x - This yields '777'
4+2+1 4+2+1 4+2+1

For rw-rw-rw-:
r+w+- r+w+- r+w+- - This yields '666'
4+2+0 4+2+0 4+2+0
 
Old 10-29-2003, 12:35 PM   #8
John Silva
LQ Newbie
 
Registered: Oct 2003
Posts: 10

Original Poster
Rep: Reputation: 0
hey,

thank u very much for your explanation, i'm still trying to get a grip on how linux really works, i used RedHat 9 for about 3 months so i thought it was time to go and get a more complex but also more powerfull distro and today i installed Slackware 9.1 but all the principles i used in RedHat 9 don't seem to work in Slackware so i'm quite a bit lost. thx for your help

Best regards,

John Silva
 
Old 10-29-2003, 12:47 PM   #9
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
so does umask=777 the same as umask=000 ? I must be missing something in your explanation.
 
Old 10-29-2003, 12:55 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Quote:
so does umask=777 the same as umask=000
Nope, it's the complement. You're locking
out EVERYONE :)

I'd suggest reading
man umask

Man, btw, is one of the most important
linux commands, and every n00b should
make himself comfortable with it's usage,
so a
man man
is highly recommended ;)

man
man -k
man -k <searchterm> | grep <narrowing down>


Cheers,
Tink

Last edited by Tinkster; 10-29-2003 at 12:57 PM.
 
Old 10-29-2003, 01:03 PM   #11
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
So why does putting 'umask=0' in the fstab work? Wouldn't that shut out everyone?
 
Old 10-29-2003, 03:07 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Read the man pages yourself mate,
all I'd do is quoting them but I can't
be bothered...

Cheers,
Tink
 
  


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
Slackware for a Debian user vharishankar Slackware 9 02-14-2005 02:08 AM
New Slackware user ByteWarrior LinuxQuestions.org Member Intro 5 04-12-2004 04:17 AM
Slackware user account ? tranquil.au Slackware 1 01-19-2004 07:43 AM
slackware 8 @ user shutting down ed_rief Slackware 7 07-12-2002 05:08 AM
New slackware user Config Slackware 11 05-31-2002 01:21 PM


All times are GMT -5. The time now is 01:09 PM.

Main Menu
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