Cannot execute files on ext4 partition
I just migrated my /home to a separate partition for easier upgrades/backups. Unfortunately, now my ~/bin scripts (and desktop launchers) can no longer be executed.
The ls command reveals that the files are still owned by me, and the permission masks still makes them executable: Code:
-rwxr-xr-x 1 arancaytar arancaytar 75 2009-04-19 23:36 fortune Code:
/dev/sda9 /home ext4 exec,user,relatime,errors=remount-ro 0 0 Code:
bash: /home/arancaytar/bin/fortune: Permission denied |
Addendum: fstab shows hat the partition SHOULD have been mounted with exec.
mount shows that (as could be guessed) it wasn't: Code:
/dev/sda9 on /home type ext4 (rw,noexec,nosuid,nodev,relatime,errors=remount-ro) |
Hello!
I have the same problem, have you solved it? How can i mount the ext4 partition with exec option set? Thanks, Anton |
I'm afraid I haven't. It might be solvable, but personally I've sworn off ext4 for the time being; I'm back to ext3 exclusively.
|
oh, not good to hear. but thanks for the reply.
so i will also switch back to ext3! greetings from vienna, Anton |
Strange. Perhaps try looking at Ubuntu's forums, or their bug reporting pages, to see if it's known (and if not, add it).
|
Is your kernel atleast a 2.6.32 kernel.
I only ask ,because I have Debian 506 & Ubuntu 10.10 For Debian the only the 2.6.32 kernel was able to read into my Ubuntu files. Ubuntu 10.10 is ext4 Debian is ext2 My only option was to change Debian kernel to 2.6.32. |
Quote:
(It should be noted than in general, when trying to figure out options and stuff for /etc/fstab, the mount manpage is a lot more informative than the fstab manpage.) |
hi cantab!
that was also my first thought when i read the mount manpage. my fstab is like this: Code:
/dev/sda1 /media/Data ext4 auto,user,exec,rw,async 0 0 Code:
$ mount Code:
/dev/sda1 /media/Data ext4 exec,rw,async 0 0 Code:
$ mount has anyone else seen this behaviour? thanks, Anton |
Quote:
|
I don't know what debian/*buntu do with their kernels, however if you really really want to go the ext4 route you should be using the latest stable kernel. ext4 is a newly born animal, and there's quite a lot of difference and a lot less bugs on newer kernels. Pick 2.6.36 from kernel.org and use that instead. If you still have problems then it will be time to look deeper.
|
Quote:
|
All times are GMT -5. The time now is 10:21 AM. |