LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 08: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, 08: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, 08: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, 09:53 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
The other way is remounting: 'mount /dev/<win> /mnt/drive.d -o remount'.
 
Old 10-29-2003, 09: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, 10: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 10:47 AM.
 
Old 10-29-2003, 11:01 AM   #7
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
'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, 11:35 AM   #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, 11:47 AM   #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, 11:55 AM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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 11:57 AM.
 
Old 10-29-2003, 12:03 PM   #11
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

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

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

Cheers,
Tink
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 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