Write permissions on fatx as ordinary user
-
- Newbie
- Posts: 6
- Joined: Thu Jan 27, 2005 12:28 am
Write permissions on fatx as ordinary user
I cant seem to see a manual, FAQ or previous post with a clear answer on this one.
I cant write to my f drive as an ordinary user. How do I change the permissions so that its possible? Ive tried chmoding the directories and the mount point as root but I get the error "operation not permitted".
Any help would be appreciated, as i dont want to be running p2p apps as root.
I cant write to my f drive as an ordinary user. How do I change the permissions so that its possible? Ive tried chmoding the directories and the mount point as root but I get the error "operation not permitted".
Any help would be appreciated, as i dont want to be running p2p apps as root.
-
- Newbie
- Posts: 6
- Joined: Thu Jan 27, 2005 12:28 am
-
- Newbie
- Posts: 6
- Joined: Thu Jan 27, 2005 12:28 am
Ok, I found the info in an old news post of yours, but it says that I should have the line in fstab set up as follows, which I have.
/dev/hda50 /mnt/fatx/e fatx defaults,umask=0000 0 0
/dev/hda55 /mnt/fatx/f fatx defaults,umask=0000 0 0
Funnily enough, the line is the same for /mnt/fatx/e, and i have full permissions there as a user:-
drwxrwxrwx 7 root root 16384 Jan 1 1970 e
drwxr-xr-x 9 root root 16384 Jan 1 1970 f
I cant see the manual entry you referred to either
/dev/hda50 /mnt/fatx/e fatx defaults,umask=0000 0 0
/dev/hda55 /mnt/fatx/f fatx defaults,umask=0000 0 0
Funnily enough, the line is the same for /mnt/fatx/e, and i have full permissions there as a user:-
drwxrwxrwx 7 root root 16384 Jan 1 1970 e
drwxr-xr-x 9 root root 16384 Jan 1 1970 f
I cant see the manual entry you referred to either
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
-
- Newbie
- Posts: 6
- Joined: Thu Jan 27, 2005 12:28 am
Xbox root # ls -l /mnt/fatx/
...
drwxr-xr-x 9 root root 16384 Jan 1 1970 f
Xbox root # chmod 777 /mnt/fatx/f
Seems to work, but then if i do
Xbox root # ls -l /mnt/fatx/
Permissions are exactly the same:
drwxr-xr-x 9 root root 16384 Jan 1 1970 f
Tried removing the umask altogether and rebooting, same result.
...
drwxr-xr-x 9 root root 16384 Jan 1 1970 f
Xbox root # chmod 777 /mnt/fatx/f
Seems to work, but then if i do
Xbox root # ls -l /mnt/fatx/
Permissions are exactly the same:
drwxr-xr-x 9 root root 16384 Jan 1 1970 f
Tried removing the umask altogether and rebooting, same result.
-
- Newbie
- Posts: 6
- Joined: Thu Jan 27, 2005 12:28 am
Tried to write in the root, and in a nested folder in the root. Also tried to create directories in the root.where in the f drive are you trying to write.
drwxrwxrwx 7 root root 16384 Jan 1 1970 eWhat does you ls -l /mnt/fatx/ look like. Does both e and f show 755 permisisons.
drwxr-xr-x 9 root root 16384 Jan 1 1970 f
E shows 777 permission, f does not even after chmoding the directory 777 as root. Same UMASK settings, as posted above.
Did you read that you cannot give user write permission to the partition in which Gentoox is installed to.
I.e. if you have Gentoox installed to E:, ONLY root can write to E... if you have Gentoox on F:.. ONLY root can write to F:. This is for safety reasons (so users cant delete your rootfs), if you want to change it edit the initrd.gz/linuxrc file and add the appropriate umask where it mounts the rootfs.
I.e. if you have Gentoox installed to E:, ONLY root can write to E... if you have Gentoox on F:.. ONLY root can write to F:. This is for safety reasons (so users cant delete your rootfs), if you want to change it edit the initrd.gz/linuxrc file and add the appropriate umask where it mounts the rootfs.
The original Xbox adaptation of Gentoo
-
- Newbie
- Posts: 6
- Joined: Thu Jan 27, 2005 12:28 am
-
- Newbie
- Posts: 5
- Joined: Tue Jan 23, 2007 9:56 pm
- Location: Kassel, Germany
- Contact:
hi!
i got the same problem like MetalMickey, my rootfs is on partition f and i want to have write access on f as normal user........
i edit the linuxrc in this section to and , but that ends up in "invalid option -> kernel panic". also and works, but does not have the effect, i want.
does anyone know, how to edit the linuxrc file right???
i got the same problem like MetalMickey, my rootfs is on partition f and i want to have write access on f as normal user........
i edit the linuxrc in this section
Code: Select all
if [ $INSTALLTYPE = "f-drive" ]; then
mount -n -t fatx /dev/ide/host0/bus0/target0/lun0/part55 /newroot
swapon /newroot/swap
mount -n -o loop,notail /newroot/rootfs /rootfs
if [ $? -ne 0 ]; then
echo "Looks like you're not using reiserfs - removing notail"
mount -n -o loop /newroot/rootfs /rootfs
fi
fi
Code: Select all
mount -n -o loop,notail,umask=000 /newroot/rootfs /rootfs
Code: Select all
mount -n -o loop,umask=000 /newroot/rootfs /rootfs
Code: Select all
mount -n -o loop,notail,rw /newroot/rootfs /rootfs
Code: Select all
mount -n -o loop,rw /newroot/rootfs /rootfs
does anyone know, how to edit the linuxrc file right???