LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-06-2003, 09:18 AM   #1
Pyroknight
Member
 
Registered: Feb 2003
Posts: 31

Rep: Reputation: 15
Question Soft links permissions


Whenever I create a soft link to my mounted windows partition the my non-root account it works partially. The problem is that even though I create it with my non-root account and look at the properties of the link it says that the file owner is root. I would be fine with this except that is leaves the directory as read only. If I log in as root and try to change the permissions of that very file that says root owns, it always unchecks the boxes I check and vice versa. This makes no sense to me.
The only way I have found to make a writable soft link for a non-root user is to log in as root and create the link and change the permissions.
Any help would be greatly appreciated, thank you!
 
Old 02-06-2003, 09:21 AM   #2
Pyroknight
Member
 
Registered: Feb 2003
Posts: 31

Original Poster
Rep: Reputation: 15
In case you were wondering, I'm running redhat 8.0. If you need any other info just let me know.
 
Old 02-06-2003, 10:29 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
How is this win drive formatted: NTFS Fat32 or something else?

Cool
 
Old 02-07-2003, 07:44 AM   #4
Pyroknight
Member
 
Registered: Feb 2003
Posts: 31

Original Poster
Rep: Reputation: 15
Its fat 32. I i've been reading around bout this, it seems that bacause fat 32 doesn't have permissions like ext (or whatever it is), so linux cannot change the permissions. I read something about unmask mode or something, but I am unclear as how I can do this. Please Help!

Last edited by Pyroknight; 02-07-2003 at 07:50 AM.
 
Old 02-07-2003, 08:56 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
In order for a user to have read/write and execute priviledges, they need a chmod of 7, this correlates to a umask of 0. So if you want not only your user, but all users in a group, the owner, and all other users to have read/write and execute permissions on any given file/directory then you need to apply a umask of 000. Sounds confusing doesn't it? It's not, but you have to understand umask and chmod first. Check out the man page on those 2 things. For a "quick start" though, find the line in your /etc/fstab file corresponding to this fat32 partition and locate the "defaults" entry. Now change it to look something like:
/dev/hdb6 /mnt/fat32 vfat umask=000,auto,users,rw 1 0

Changing the partition and mount points to suit your needs.

HTH

Cool
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
links (hard links and soft links..) sachitha Programming 1 08-10-2005 12:10 PM
Soft Links varunbihani Linux - Newbie 3 06-04-2005 11:42 PM
The internet and soft links orange400 Linux - General 0 06-10-2004 03:22 AM
Soft Links tonphi Red Hat 1 09-22-2003 09:20 PM
Soft Links Resqtech Linux - Newbie 4 08-26-2001 10:00 AM


All times are GMT -5. The time now is 02:48 AM.

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