You are not logged in.
Hi there !
Is there something special to know about ext4 and extern USB hard drive ? I used Gnome DIsk Utility to format it, and when i plug it, it mounts ok but with root, so I can't write data on it. Is there a way to fix it please ?
Last edited by talnotag (2010-07-28 01:10:45)
Offline
How exactly do you mount it: udev, pmount?
Offline
udev I assume since it's automount. Anyway I don't remember I configured anything about that at installation...
Offline
Offline
"Gnome Disk Utility" means udisks. Which means policykit. Ugh.
Actually, I have an idea: Mount the disk. Now, the directory it's mounted at (it'll most likely be /media/label_of_disk), change it's permissions - as root do:
chown talnotag:talnotag /media/label_of_disk
Now you should in theory be able to write data on the disk.
Offline
@ Gusar
'chown -R' maybe? Just in case there's already something there.
Offline
Thanks for your answers. Maybe I should format it again using another tool then ?
Last edited by talnotag (2010-07-27 23:02:16)
Offline
Thanks for your answers. Maybe I should format it again using another tool then ?
So the chown didn't work? That would be really weird.
Offline
talnotag wrote:Thanks for your answers. Maybe I should format it again using another tool then ?
So the chown didn't work? That would be really weird.
It worked, just wondering if the problem would occur again after next reboot, or if it fixed for any computer i would plug this HD in ?
(sorry for my approximative english)
Offline
> if it fixed for any computer i would plug this HD in ?
If you have the same user everywhere it should work.
Offline
Same UID that is.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Same UID that is.
That's what I meant. I've heard that they may differ from one distro to another, but if all the boxes are running Arch, will that be a problem?
Offline
Depends on how these boxes of Arch are configured.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Depends on how these boxes of Arch are configured.
Default. Root + one user. Will the user get the same UID (1000) on every box?
Offline
Depends on the guy who installs it.
I can go on all day.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Ok, let's say I have to format it again ^^
Thanks everyone.
Offline
No you don't. Worst case you have to chown -R again.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
I'd like to be able to easily use it on any linux box I find with any user, just like a normal external HD : plug and read/write. This UID protection thing is anoying in my case.
Offline
I'd like to be able to easily use it on any linux box I find with any user, just like a normal external HD : plug and read/write. This UID protection thing is anoying in my case.
You won't escape from UID on a Linux filesystem, but if you can use vfat you won't have such 'problems', just mount your drive as a user.
Offline
So the only filesystem that can handle 4Go+ files and is easy to use with removable media is NTFS ? No way to format it using ext3 or 4 and use it as a normal USB disk ?
Offline
If you give everyone every permission you will be able to do whatever you want.
[karol@black ~]$ touch abc
[karol@black ~]$ ls -al abc
-rw-r--r-- 1 karol users 0 07-28 03:05 abc
[karol@black ~]$ chmod 777 abc
[karol@black ~]$ ls -al abc
-rwxrwxrwx 1 karol users 0 07-28 03:05 abc
Offline
I was thinking about that at the same moment, but will it bo ok for new files added in the future as well ?
Offline
I was thinking about that at the same moment, but will it bo ok for new files added in the future as well ?
https://bbs.archlinux.org/viewtopic.php … 81#p799381
In theory you could create all files with 777 permissions and mount the drive accordingly http://en.wikipedia.org/wiki/Umask
Offline
talnotag wrote:I was thinking about that at the same moment, but will it bo ok for new files added in the future as well ?
https://bbs.archlinux.org/viewtopic.php … 81#p799381
In theory you could create all files with 777 permissions and mount the drive accordingly http://en.wikipedia.org/wiki/Umask
Ok sounds good, I think it will be ok.
Thanks a lot for your help ! I hope there will be a real free filesystem made for large removable device one day.
Offline
Edit: Sorry, I thought you were refusing to answer my question as it was a bit too personal.
Here it is again as far as I remember it: If I may ask, where do you plan on mounting this device, at a friends' box, at your workplace, across the nation in a mount-on-every-Linux-box-you-find trip?
Last edited by fsckd (2010-07-28 01:52:42)
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline