-
Senior Member
registered user
--You can't change permissions effectively on fat32 filesystems with chmod - it causes unpredictable results. Try changing a vfat file to 600 and you'll see what I mean.
--Fat32 file permissions are instead controlled by the mount command ( see ' man mount '. )
Code:
/dev/hde8 on /mnt/drivef type vfat (rw,noexec,nosuid,nodev,noatime,uid=1001)
--This drive is assigned with uid=1001 (my non-root login ) as the "owner."
Here's the fstab entry for that drive:
Code:
/dev/hde8 /mnt/drivef vfat defaults,users,noexec,noatime,uid=dave,rw 0 0
--Note that the owner will revert when the drive is umounted:
Code:
la /mnt
drwxr-xr-x 7 root root 472 Jun 5 23:23 bkps
drwxr-xr-x 7 root root 384 Jun 5 23:55 bkps2
drwxr-xr-x 9 root root 352 Jun 5 23:58 bkps3
drwxr--r-- 8 dave root 8192 Dec 31 1969 cdtemp
drwxr--r-- 40 dave root 8192 Dec 31 1969 drived
drwxr--r-- 17 dave root 8192 Dec 31 1969 drivef
umount /mnt/drived
la /mnt/drived
drwxr-xr-x 2 root root 72 May 21 21:32 drived
--Quick (and safe) solution to delete files:
o Switch to root console ( Ctrl-Alt-F1 ) and enter ' mc '
o cd to the directory you want
o Mark files with Insert, or just set the cursor on a directory
o Hit F8 to delete them.
( The "grey plus" key on the numeric keypad will mark all files in a directory except subdirs; " Grey - " will unmark them. )
--I **never** use bare " rm " to delete directories; always use mc or another filemanager. In doing this, you avoid the most regrettable *nix admin's lament: " I accidentally just trashed my filesystem! " (There are stories all over the Internet about this... It's the #1 trap to fall into. DD is another matter however... But that is a story for another day. 
o DON'T USE RM AS ROOT:
http://wiki.linuxquestions.org/wiki/Rm

Originally Posted by
foamrotreturns

Originally Posted by
Tetsuro
I've done what it said, changed the read only thing in Properties but still i cannot delete files on windows partionion *fat32*.
Are you sure that it's fat32? Did you mount the drive using mount -t vfat /dev/hda1 /mnt/hda1?
Did you add permissions to change all the files on that drive with chmod -R 777 /mnt/hda1?
Similar Threads
-
By haskabab in forum MS Windows & New to Linux
Replies: 1
Last Post: 05-29-2009, 11:29 PM
-
By carlo67 in forum General Support
Replies: 3
Last Post: 09-22-2007, 10:00 AM
-
By voteslave in forum General Support
Replies: 2
Last Post: 05-22-2006, 07:02 PM
-
By Accumet8000 in forum General Support
Replies: 2
Last Post: 10-02-2004, 01:41 AM
-
By microsoft_sucks in forum General Support
Replies: 1
Last Post: 07-04-2003, 05:00 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE
$214.99

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps
$37.99

Samsung PM9C1A 256GB m.2 2280 SSD GEN4X4 NVME MZVL8256HDJD new Laptop PC
$34.99

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$249.99

Samsung 860 PRO 2TB 2.5" SATA III V- NAND SSD MZ-76P2T0 86%-90% Health
$187.00