You are not logged in.
Pages: 1
i use archlinux , and i have a ext4 partition, i want to mount it , add it on /etc/fstab
/dev/sda7 /mnt/sda7 ext4 defaults,noatime 0 0
i reboot, i found the ext4 partition, i have no right to R/W for user mode? why?
Offline
You don't have that field in your fstab: http://wiki.archlinux.org/index.php/Fstab
Offline
Unmount the partition and run fsck on it and then mount it again.
Edit: So, you can r/w with root? Permissions problem?
Last edited by Ashren (2010-05-09 07:28:39)
Offline
what field? "defaults,noatime" ? how to motify the fstab for ext4?
Offline
to Ashren:
i have R/W for root, but i login for user mode, the ext4 partition no right for RW, why?
BTW, i have another patrition for NTFS, it is work well in user mode.
Offline
If you can write to the disk as root, you should be able to do it as non-root...
What folder do you need to write to?
Could you give us the permissions of the folder you are trying to write to?
i.e.
cd /your/folder/
ls -lah
NTFS is a windows system, and therefore will not operate with permissions as other filesystems does
Last edited by toffyrn (2010-05-09 07:39:01)
Offline
the ext4 partition is another linux, fedora 13, i want to mount it on archlinux.
[figo@myhost sda7]$ ls -lah
total 136K
dr-xr-xr-x 24 root root 4.0K May 9 15:28 .
drwxr-xr-x 7 root root 4.0K May 9 15:35 ..
drwx------ 4 root root 4.0K May 9 15:28 .Trash-0
-rw-r--r-- 1 root root 0 May 8 20:17 .autofsck
drwx------ 3 root root 4.0K May 1 18:28 .dbus
drwx------ 2 root root 4.0K May 1 18:28 .pulse
-rw------- 1 root root 256 May 1 18:28 .pulse-cookie
dr-xr-xr-x 2 root root 4.0K May 8 21:41 bin
dr-xr-xr-x 4 root root 4.0K May 8 21:42 boot
drwxr-xr-x 4 root root 4.0K Oct 1 2009 dev
drwxr-xr-x 117 root root 12K May 8 21:45 etc
drwxr-xr-x 4 root root 4.0K May 1 18:29 home
dr-xr-xr-x 17 root root 12K May 8 21:43 lib
drwx------ 2 root root 16K Apr 8 02:48 lost+found
drwxr-xr-x 2 root root 4.0K Oct 1 2009 media
drwxr-xr-x 2 root root 4.0K Oct 1 2009 mnt
drwxr-xr-x 2 root root 4.0K Oct 1 2009 opt
drwxr-xr-x 2 root root 4.0K Apr 8 02:48 proc
dr-xr-x--- 7 root root 4.0K May 8 20:21 root
dr-xr-xr-x 2 root root 12K May 8 21:44 sbin
drwxr-xr-x 3 root root 4.0K Apr 8 03:02 selinux
drwxr-xr-x 3 root root 4.0K Oct 1 2009 srv
drwxr-xr-x 2 root root 4.0K Apr 8 02:48 sys
drwxrwxrwt 16 root root 4.0K May 8 21:42 tmp
drwxr-xr-x 13 root root 4.0K Apr 8 02:49 usr
drwxr-xr-x 21 root root 4.0K May 8 21:41 var
Offline
The only folder you can write to as non-root is temporary.
drwxrwxrwt 16 root root 4.0K May 8 21:42 tmp
this is completly normal, and would be the same way even in a current install.
root owns everything, you own only your home folder (usually).
You can change the permissions using "chmod" and "chown" but be aware that you may experience problems when you go back using the disk in fedora!!!
The easiest thing to do, i think, is to use sudo when needed.
A good thing to do is to read wikipedias article about "filesystem permissions", and get familiar with commands chmod and chown
Last edited by toffyrn (2010-05-09 08:09:06)
Offline
Pages: 1