Results 1 to 8 of 8
I'm haveing permision problems viewing my windows partition in linux. I can read all the files ok as root, but I can't as a user; I've tried ' chmod " ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-28-2004 #1
Problems viewing Windows partition
I'm haveing permision problems viewing my windows partition in linux. I can read all the files ok as root, but I can't as a user;
I've tried 'chmod" command:
linux:/home/dylunio # chmod a+r /windows/C chmod: changing permissions of `/windows/C': Read-only file system
I've also tried to use "chown" command:
inux:/home/dylunio # chown dylunio /windows/C chown: changing ownership of `/windows/C': Read-only file system
This is my fstab:Code:
/dev/hda1 /windows/C hpfs/ntfs defaults 0 0 /dev/hda4 /mnt/kevin reiserfs defaults 0 0 /dev/hda3 / reiserfs defaults 1 1 /dev/hda2 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 sysfs /sys sysfs noauto 0 0 /dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
- 11-28-2004 #2
- Join Date
- Sep 2003
- Knoxhell, TN
you need to add a umask to the windows partition entry in /etc/fstab... read the manpage for fstab to find out what the umask should be.Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
- 11-28-2004 #3
I've looked in my manpage for fstab, and they contain nothing.
I've tried the fstab line with; umask=002 also i've tried umask=0222
I've also added user to the line, as well as ro
But I still can't access my windows partition as a user.
Any help would be appreciated;
- 11-28-2004 #4
- Join Date
- Mar 2004
why not create a logical partition and name it " Data " to keep all yr windows and linux files.
Format this partition as " fat32 file system ".
Then u can access yr files fr both operarting systems.
I think there's an issue using ntfs file system with linux. Not sure this is fixed in Suse9.1
- 11-28-2004 #5Originally Posted by pchin
But what the hell, I've decided to build a linux only computer, and set up Samba between this computer which will then be XP only, with my new computer;
Thanks for your help guys;
- 11-28-2004 #6Originally Posted by pchin
- 12-21-2004 #7
Got it fixed at last!
chmod 777 /dev/hda1
thanks for all your suggestions;
- 01-17-2005 #8
- Join Date
- Jan 2005
For future reference:
This works for me if I set umask=0000. Dunno why