Complete Linux Newbie Permission's
Its only my 2nd day using Knoppix 3.2
I managed to mount my Usb Pendrive But it wont let my write to it, only read I know i got to set Permissions, im logged on as Root User Right Click then Propities wont let me save changes, So i guess i must open Shell, but from there i know nothing Any help much appreciated |
What filesystem is it and what command are you currently using to mount it with?
|
Maybe you'd like to take a look at my /etc/fstab:
################# LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hdb3 swap swap defaults 0 0 /dev/hda5 /windos/myvideos vfat defaults,umask=0000 0 0 /dev/hda6 /windos/mymusic vfat defaults,umask=0000 0 0 /dev/hda7 /windos/myworks vfat defaults,umask=0000 0 0 /dev/hdb5 /windos/mypics vfat defaults,umask=0000 0 0 /dev/hdb6 /windos/mydocs vfat defaults,umask=0000 0 0 /dev/sda1 /mnt/usb1 auto users,noauto,umask=0000 0 0 /dev/sdb1 /mnt/usb2 auto users,noauto,umask=0000 0 0 /dev/sda /mnt/usb3 auto users,noauto,umask=0000 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 /dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0 ######################### The most important thing here is the umask=0000 thing. It lets normal user write files on the usb pendrive. Another thing is to set chmod 777 /mnt/usb. :rolleyes: :D |
Ok thanks i see my prob
this was how i mounted it, /dev/sda1 /mnt/usbdrive no 777 |
Quote:
Like many here, I'm a noob. I have both windows and linux installed. I am using Mandrake 9.1. My problem is that when I previously installed Mandrake along with Windows, I could read and execute the files on my windows through Mandrake (such as playing my mp3s). However, after a fresh install, I can't even view the files on my Windows except when I am in superuser mode. I have tried your mounting technique, but to no avail. Below is my /etc/fstab file: /dev/hda5 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda7 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850 0 0 /dev/hda1 /mnt/windows ntfs iocharset=iso8859-1,ro 0 0 none /proc proc defaults 0 0 /dev/hda6 swap swap defaults 0 0 Please help. Thank you in advance. -Reef |
You could try this:
/dev/hda1 /mnt/windows ntfs auto,umask=0222,iocharset=iso8859-1,ro 0 0 |
Quote:
Thank you for your reply. However, I get the following reponse for that particular command: [root@localhost mnt]# /dev/hda1 /mnt/windows ntfs auto,umask=0222,iocharset=iso8 859-1,ro 0 0 bash: /dev/hda1: Permission denied |
Maybe the kernel doesn't support ntfs?
|
Quote:
Hey. The kernel does support it. How then can I see the files in su mode? But thank you for your input. -Reef |
Quote:
Try putting this line in your fstab file in place of the current /dev/hda1 line /dev/hda1 /mnt/windows ntfs auto,umask=0222,iocharset=iso8 859-1,ro 0 0 |
Uh.. umask=0000 and chmod 777 sounds like bad security to me.
But then, USB in linux is not something I've much dealt with yet. |
Quote:
Thank you all for helping. -Reef. |
Howdy,
Im a newbie myself so maybe this is useless to you, but I just got my ntfs partition going (actually, I got it going, backed it up then formatted it to ext3! So long windows!) anyhoo, have you tried adding "user" to the fstab line? user,auto,umask=0222,iocharset=iso8 859-1,ro 0 0 I dont know what umask is - sorry if that means "user"! |
All times are GMT -5. The time now is 10:37 AM. |