LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-01-2004, 08:34 AM   #1
cchanana
LQ Newbie
 
Registered: Dec 2004
Posts: 11

Rep: Reputation: 0
administrator not able to change permission


i recentlly installed linux in my system .i first created 3 fat 32 partitions and one partition for linux
now i cant change the permission of the fat32 partition( /mnt/d )even when i am logged in as the admin .though i am able to access the hd when i am logged in as a user but i am not able to write on it.though when i am admin i can write on it.
i have tried the chmod command and i have also tried changing permission by right clicking on the folder and going to propeties.
plz help
 
Old 12-01-2004, 08:37 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
permissions of fat-partitions are set in the fstab.
i have for vfat:

/dev/hda2 /win-d vfat defaults,users,umask=022 1 0

this will give users r/w access.

egag
 
Old 12-01-2004, 08:40 AM   #3
hostile1313
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: Slackware 14
Posts: 25

Rep: Reputation: 15
most mounts are set this way by default, maybe for security purposes. the way that I have always set it up is create a folder on the drive with root and change the permissions of it to what ever you like. this way you have the ability to write to that folder with the user, but you can not go off and delet the whole folder by accident with out root permissions.
 
Old 12-01-2004, 09:09 AM   #4
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
vfat (windows95 filesystem) has only limited support for permissions because Win introduces the user rights in a completely different way. Use vfat only if you need to share disks with windows. I would recommend to create just one small partition for file sharing and work mostly on linux FS. But it depends on your needs.

Best,

Ott
 
Old 12-02-2004, 09:15 AM   #5
cchanana
LQ Newbie
 
Registered: Dec 2004
Posts: 11

Original Poster
Rep: Reputation: 0
thanks egag this was troubling me for 2 weeks
anyway could tell me what the 022 1 0 stands for
the rest i could uderstand from the man pages
 
Old 12-02-2004, 11:04 AM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
quote
---------
anyway could tell me what the 022 1 0 stands for
---------endquote

substarct the "umask" from "777"; in this case that's "755"
and those are the permissions of " owner,user,other" for that partition (= rwxr-xr-x )
( really don't know why to substract, but it is as it is )

for the 1 & 0 at the end , see " man fstab " about the fifth & sixth field.

egag

Last edited by egag; 12-02-2004 at 11:05 AM.
 
  


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
change permission alma Linux - Newbie 5 10-28-2005 10:17 PM
how to change the file permission ?? AK prince Slackware 17 08-05-2005 12:16 PM
Why I cannot change permission on /etc/sudoers? mikeshn Linux - Software 1 01-06-2005 11:26 AM
How do I change permission many at a time? akihandyman Mandriva 1 08-26-2004 10:40 PM
Samba Administrator does not have privilage to change local machine password vijayandra Linux - Networking 0 11-20-2003 09:26 AM

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

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