You are not logged in.
Pages: 1
I've got an external drive (Simpletech something or other) that I've been using since my Windows days and I'm having issues with it on Arch.
Namely, I can't write to it as a user. I can't chmod it, I can't chown it, opening the dialog box in PCManFM and checking the "write" boxes under permissions, nothing makes a difference. Take a look at this output:
[crew@myhost ~]$ ls -l /media/"Awesome Stuff"
total 32
dr-xr-xr-x 1 root root 0 2006-12-06 13:39 Diskeeper
dr-xr-xr-x 1 root root 12288 2007-11-28 01:10 Media
dr-xr-xr-x 1 root root 4096 2008-03-28 17:07 RECYCLER
dr-xr-xr-x 1 root root 4096 2008-03-28 16:56 System Volume Information
-r-xr-xr-x 1 root root 1826 2008-03-06 23:50 conkyrc
-r-xr-xr-x 1 root root 2222 2008-03-05 16:55 conkyrc~
dr-xr-xr-x 1 root root 4096 2009-03-13 11:19 crew2
dr-xr-xr-x 1 root root 0 2008-10-25 03:20 found.000
[crew@myhost ~]$ sudo chmod 755 /media/"Awesome Stuff"
[crew@myhost ~]$ ls -l /media/"Awesome Stuff"
total 32
dr-xr-xr-x 1 root root 0 2006-12-06 13:39 Diskeeper
dr-xr-xr-x 1 root root 12288 2007-11-28 01:10 Media
dr-xr-xr-x 1 root root 4096 2008-03-28 17:07 RECYCLER
dr-xr-xr-x 1 root root 4096 2008-03-28 16:56 System Volume Information
-r-xr-xr-x 1 root root 1826 2008-03-06 23:50 conkyrc
-r-xr-xr-x 1 root root 2222 2008-03-05 16:55 conkyrc~
dr-xr-xr-x 1 root root 4096 2009-03-13 11:19 crew2
dr-xr-xr-x 1 root root 0 2008-10-25 03:20 found.000
[crew@myhost ~]$
The permissions literally don't change. What the heck can I do here?
And in the midst of such perfection,
I can't help but feel diseased.
Offline
Try:
chown -R youruser /media/place
With root.
Last edited by initbox (2009-03-13 16:36:34)
Offline
Your hdd's pro'lly using the FAT32 filesystem, which doesn't support linux permissions. But a linux box can't work without permissions, so when the hdd is mounted, virtual permissions are set: All files are owned by the user who mounted the hard drive, and if I'm not mistaken the modes for all files are 644. That's why you can't write files or create new files - you can't change the virtual permissions. A workarround (which I adopted) is to add an entry in /etc/fstab about your hdd and mount it as your user on every reboot.
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
That's likely it, Dheart. I may end up borrowing another drive to move things around, then reformat the thing as ext3 for ease of use. For now, I just use it as root (which I can do just fine).
And in the midst of such perfection,
I can't help but feel diseased.
Offline
If the external partition is in NTFS then you need to fiddle with some .fdi files ... can't remember which one(s), do check the wiki the solution is there .
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
That's why you can't write files or create new files - you can't change the virtual permissions. A workarround (which I adopted) is to add an entry in /etc/fstab about your hdd and mount it as your user on every reboot.
You can change those perms, read up on the "umask" mount option.
Last edited by Ramses de Norre (2009-03-14 15:12:34)
Offline
Pages: 1