Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo nOOb Question on Permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sixgauge
n00b
n00b


Joined: 02 Dec 2005
Posts: 4

PostPosted: Mon Dec 05, 2005 8:16 pm    Post subject: Gentoo nOOb Question on Permissions Reply with quote

I just installed gentoo on my computer and am trying to view my windows partitions..
I can only do this in root though. I have tried to change the permissions with chmod..
Truthfully though I don't really know how to do this....
I know in mandrake I could view this..

any help would be awsome

thanks
gentoo nOOb
Back to top
View user's profile Send private message
nlindblad
Guru
Guru


Joined: 30 Jun 2005
Posts: 476
Location: Lund, Sweden

PostPosted: Mon Dec 05, 2005 8:20 pm    Post subject: Reply with quote

You have to change the umask:
example entry in /etc/fstab
Code:
/dev/hda1   /mnt/ntfs   ntfs   umask=0000    0 0


umask=0000 will allow all users and group to perform read, write and execution.

For a more secure umask, please consult:
http://gentoo-wiki.com/HOWTO_Mount_Windows_partitions_%28DOS%2C_FAT%2CNTFS%29
_________________
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
Back to top
View user's profile Send private message
sixgauge
n00b
n00b


Joined: 02 Dec 2005
Posts: 4

PostPosted: Mon Dec 05, 2005 9:49 pm    Post subject: Reply with quote

This is what my fstab looks like....
I still can't get into my 2 drives with user just root

once again thanks for all your help


# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2 /boot ext2 noauto,noatime 1 2
/dev/hda6 / ext2 noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hda1 /mnt/win ntfs users,noauto,umask=0002 0 0
/dev/hdb2 /mnt/media ntfs users,noauto,umask=0002 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
Back to top
View user's profile Send private message
nlindblad
Guru
Guru


Joined: 30 Jun 2005
Posts: 476
Location: Lund, Sweden

PostPosted: Tue Dec 06, 2005 3:20 pm    Post subject: Reply with quote

Code:
umask=0002


Quote:
For example, if you want that everybody be able to read, write, and execute every file in your /mnt/c, you should specify the mask 0000:


umask 0002 means that the owner and the owners group can read, write and execute and also that last digit (2) means that everybody else on the system can only read!

Please have a look at the table describing this at: http://gentoo-wiki.com/HOWTO_Mount_Windows_partitions_%28DOS%2C_FAT%2CNTFS%29#umask:_octal_file_permissions
_________________
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum