• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

linux help (permission access related)

JoPh

Diamond Member
hey, i got another problem.

last night i tried to have linux reconize/see my windows drive/partition. i was successful in doing so, but when i login i do not have permission under my normal account to access it. i can only access it under the root account. this is what i did.

mkdir /mnt/windows
mount -t ntfs /dev/hdb1 /mnt/windows
cd /mnt/windows/mp3s
ls

i did all that under root account and it gave me access to the partition. so next i logined under my user account and wasnt able to get to the drive because it said i didnt have permission to do so. so next i went back under the root account and went to the properties for the mnt/windows and tried to change the permissions and ownership for it, but when i tried to accept the changes it said i didnt have permission. and remember this is all under root. so i have no idea what to do next.

thanks.
 
From the mount man page:
Mount options for ntfs
iocharset=name
Character set to use when returning file names. Unlike VFAT, NTFS suppresses names that contain uncon�
vertible 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. By default, the files are owned by root and not readable by
somebody else.
 
ok. so i have to go into the terminal to set permissions?
by typing uid=value, gid=value and umask=value
where value=my user account?

im sorry. this is my first time ever using linux. i really dont know what i have to do.
 
When you run mount you can pass it '-o <options>' to specify options that the filesystem driver supports. In this cause the uid and gid options need the appropriate id numbers, to find yours type 'id' at the prompt (not as root). Then to mount it with them type 'mount -t ntfs -o uid=XXX /dev/whatever /mnt/wherever'.
 
Originally posted by: Nothinman
When you run mount you can pass it '-o <options>' to specify options that the filesystem driver supports. In this cause the uid and gid options need the appropriate id numbers, to find yours type 'id' at the prompt (not as root). Then to mount it with them type 'mount -t ntfs -o uid=XXX /dev/whatever /mnt/wherever'.

i tried that. and i ran into a problem. since the drive is already mounted it wont let me do the command.

so is there a way i can unmount it then remount it with the proper permissions ?
 
Back
Top