Can't delete folders made by XP under unbunu on fat32 partition
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Originally posted by Matir You may need to mount the partition so you have write permissions. Add "umask=000" to the mount options in /etc/fstab, and remount the drive. Or 'mount -o remout,umask=000 /media/G'.
didnt work, same problem
Last edited by Tristan9669; 08-10-2005 at 04:42 PM.
Originally posted by Grobbendonk
Second (and this is the one that I always miss!), make sure your user has write privilege on the actual mount point.
nic@avon:~> ls -l /mnt/xp
lrwxrwxrwx 1 root root 1 2005-05-27 16:19 c -> C
drwxrwxr-x 23 root users 4096 1970-01-01 01:00 C
(I've got a symbolic link because I use software that is occaisionally case sensitive)
If it's not the mount point, or the mount command, then it's a bit more difficult - let us know if it's neither of these!
I don't understand what youre say here in the last part. Also, how do I check if I have write privilege on the mount
here is how my /etc/fstab looks like
/dev/hda5 /media/G vfat iocharset=utf8,umask=000 0 0
Originally posted by Matir Please post the output of the 'mount' command, as well as ls -l /media/G.
/dev/hdb1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda5 on /media/G type vfat (rw,iocharset=utf8,umask=000)
/dev/hda1 on /media/C type ntfs (rw,nls=utf8,umask=0222)
/dev on /.dev type unknown (rw,bind)
none on /dev type tmpfs (rw,size=5M,mode=0755)
usbfs on /proc/bus/usb type usbfs (rw)
tristan@TRISTAN:~$ mount -l /media/G
mount: according to mtab, /dev/hda5 is already mounted on /media/G
>I don't understand what youre say here in the last part.
No problem, I'm not great at explaining stuff!
Anyway, you've given us more to go on - this line from your "mount" display is useful and tells us that there's nothing wrong with your fstab (although many would recommend changing the umask to 002). The rw on the /dev/hda5 line means "this partition accepts read and write access". So it's not that, it must be permissions on something else.
The next one - as Matir says, we need to see the result from ls -l /media
What we're looking for is the permissions on the mount point. The mount point is an existing directory which is effectively overlaid with the root of the partition when the mount command is issued. The problem I was trying to explain was that when the mount happens, the permissions of the mount point apply to the newly mounted partition.
When you created the mount point ( /media/G ) it's quite likely that it was created with read-only permissions (except for the root user), and to allow the user tristan to write/delete, you need to open these up a bit!
Actually, mount point permissions are completely overriden by mount options (and, on *nix filesystems, the filesystem itself). But still, seeing permissions for the top-level directory and contents would be useful.
I can't belive I didn't think of it before, I boot up xp and deleted the folders that were locked (some wren't) and then I boot back in ubuntu and mounted the fat32 partition and then mounted the ntfs partition that I originally copied the files from under xp and I then copied the files from the ntfs partition to the fat32 partition.