Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
user
Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab so that he can unmount the file system again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).
So there's your problem. I have no idea why you need the "user" option at all - that's normally employed for removable drives. But if you must use it, put exec after user.
(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.)
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.
So there's your problem. I have no idea why you need the "user" option at all - that's normally employed for removable drives. But if you must use it, put exec after user.
Thanks, cantab. I had a similar problem with executing on an external ext4 drive, and your solution worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.