Results 1 to 10 of 11
[root@localhost tmp]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/data /data ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys ...
- 03-13-2009 #1Just Joined!
- Join Date
- Mar 2009
- Location
- China
- Posts
- 26
[SOLVED] Cannt write in XP partion!!!
the user m(not root) have the perm to write /mnt/*,but when they mount filesystem ,m cannt write any more!!!but root have the perm to write and delete!!![root@localhost tmp]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/data /data ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda11 swap swap defaults 0 0
/dev/sda1 /mnt/xp vfat defaults 1 2
/dev/sda5 /mnt/software vfat defaults 1 2
/dev/sda6 /mnt/package vfat defaults 1 2
/dev/sda7 /mnt/learning vfat defaults 1 2
/dev/sda8 /mnt/fun vfat defaults 1 2
[root@localhost tmp]#
what can i do for it ??????
- 03-13-2009 #2
Are all partitions formatted in FAT32 filesystem?
Edit /etc/fstab file :
Execute mount -a command or reboot machine.Code:/dev/sda1 /mnt/xp vfat defaults,umask=0 0 0 /dev/sda5 /mnt/software vfat defaults,umask=0 0 0 /dev/sda6 /mnt/package vfat defaults,umask=0 0 0 /dev/sda7 /mnt/learning vfat defaults,umask=0 0 0 /dev/sda8 /mnt/fun vfat defaults,umask=0 0 0
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-13-2009 #3Just Joined!
- Join Date
- Mar 2009
- Location
- China
- Posts
- 26
It's OK,
thank you very much,my Indian friend!!!!!
- 03-13-2009 #4A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 03-13-2009 #5Just Joined!
- Join Date
- Mar 2009
- Location
- China
- Posts
- 26
Yeah ,
I have :
chown m /mnt/*
Is this right??????
- 03-13-2009 #6
There is no need to execute chown command for Fat32 and NTFS partitions. Linux support FAT32 write access by default but one has to set umask=0 to enable it. ntfs-3g package is pre-installed in most of distros these days and it allows read/write access to NTFS partitions.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-13-2009 #7Just Joined!
- Join Date
- Mar 2009
- Location
- China
- Posts
- 26
not partion,
only the directory under /mnt
- 03-13-2009 #8A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 03-13-2009 #9
Don't you have write access in Windows Partitions now?
Execute this
Post output here.Code:ls /mnt df -h
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-14-2009 #10Just Joined!
- Join Date
- Mar 2009
- Location
- China
- Posts
- 26
I had write access in Windows Partitions already!!!!
Code:[m@localhost ~]$ ls /mnt fun learning package software xp [m@localhost ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda10 24G 5.6G 17G 25% / /dev/sda9 19G 4.0G 15G 22% /data tmpfs 505M 0 505M 0% /dev/shm /dev/sda1 9.8G 3.9G 5.9G 40% /mnt/xp /dev/sda5 25G 2.6G 22G 11% /mnt/software /dev/sda6 44G 1.7G 43G 4% /mnt/package /dev/sda7 9.8G 106M 9.7G 2% /mnt/learning /dev/sda8 15G 4.1G 11G 28% /mnt/fun [m@localhost ~]$
Oh ,if I,i have the write permission also....Code:chown root /mnt/*
It dosn't matter with the owner of the directory under /mnt!!
Thank you very much!!!!!



