LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permission troubles. (https://www.linuxquestions.org/questions/linux-newbie-8/permission-troubles-298020/)

Vodius 03-05-2005 01:19 PM

Permission troubles.
 
Ok, serius problem here (I guess). I managed to succesfully mount my Windows partition but now I can access it unless I am on root in the console O_o. It says itś locked. I looked and looked (and probably overlooked) and cannot find anything on how to ¨unlock¨ it. Thanks in Advanced.

Brain Drop 03-05-2005 01:27 PM

Try this as root:
Code:

chmod 666 /mnt/windowspartition
with whatever your real mount point is called.

This will allow any user to read, and write to the windows partition.

For more info type man chmod

Vodius 03-05-2005 01:32 PM

Oh... Well that didn´t work itś still ¨locked¨ but... should I h ave mounted it to /mnt/(whatever) because I mounted it to ¨/windows¨ THanks in advanced.

Vodius 03-05-2005 02:20 PM

update : I tried setting the acess to it to let others do everything O_O... with ¨chmod +o+r+w+x /mnt /windows (remounted as well)¨ and it still says I do not have enough permissions to access this location. I am thinking its like a system file thing? Thanks in Advanced

egag 03-05-2005 03:17 PM

hi there,

first of all you have to set the permissions of the mount point when there's nothing mounted.
so...

#umount /windows
#chmod 770 /windows

then put a line like this in /etc/fstab :

/dev/hd?? /windows vfat defaults,users,umask=002 1 0

for vfat , or :

/dev/hd?? /windows ntfs ro,user,umask=022 1 0

for ntfs.
( fill in the ??.... )
if you have that :

#mount /windows

and that's it.

egag


All times are GMT -5. The time now is 03:39 PM.