View previous topic :: View next topic |
Author |
Message |
Caeberos Tux's lil' helper
Joined: 24 Mar 2004 Posts: 109
|
Posted: Wed Jul 28, 2004 2:53 pm Post subject: Users can't acess NTFS partition |
|
|
I have an existing NTFS partition on my box, basically where i just kept all my junk when I was still on windows, and I want my non-root account to be able to access it. However I cannot change the permissions on it, no matter what I do, it only allows root to open the partition and read data.
he is what ls -l tell me:
dr-x------ 1 root root 24576 Jun 25 16:34 hdf5
I have tried chmod but it does change the permissions... How would I do this?
thanks in advance
:edit: if it makes any difference this only happens after mouting the drive |
|
Back to top |
|
|
pmjdebruijn Guru
Joined: 24 Jul 2003 Posts: 506 Location: Sittard, The Netherlands
|
Posted: Wed Jul 28, 2004 3:05 pm Post subject: |
|
|
Simple, you don't... The permissions on NTFS, aren't the real NTFS permissions translated to UNIX.
Quote: | Mount options for ntfs
iocharset=name
Character set to use when returning file names. Unlike VFAT, NTFS suppresses names that contain unconvertible characters.
utf8
Use UTF-8 for converting file names.
uni_xlate=[0|1|2]
For 0 (or `no' or `false'), do not use escape sequences for unknown Unicode characters. For 1 (or `yes' or `true') or 2, use vfat-style 4-byte escape sequences starting with ":". Here 2 give a little-endian encoding and 1 a byteswapped bigendian encoding.
posix=[0|1]
If enabled (posix=1), the file system distinguishes between upper and lower case. The 8.3 alias names are presented as hard links instead of being suppressed.
uid=value, gid=value and umask=value
Set the file permission on the filesystem. The umask value is given in octal. By default, the files are owned by root and not readable by somebody else. |
extracted from man mount... look at the uid,gid,umask stuff...
Good luck,
Pascal de Bruijn |
|
Back to top |
|
|
Caeberos Tux's lil' helper
Joined: 24 Mar 2004 Posts: 109
|
Posted: Wed Jul 28, 2004 3:44 pm Post subject: |
|
|
Thanks! that really helped alot, knowing that and using the power of google I found the answer
./dev/... /mnt/.... ntfs default.ro,user,uid=x,gid=x 0 0
for future reference
Thanks for the quick responce
uid= user ID
gid= Group ID n00b's band together! |
|
Back to top |
|
|
|
|
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
|
|