Ubuntu took away permissions from my Data partition
I reformatted a NTFS partition on my system with ext4 because I want to use it on my current Ubuntu installation, not on Windows. I added an entry to
/etc/fstab to mount it at start-up. The mount point is
/home/username/bin. I changed the owner of
/home/username/bin and all of its sub-directories to my regular account and its user group. Finally, I set all permissions to 755.
/etc/fstab looks as follows:
proc /proc proc nodev,noexec,nosuid 0 0 UUID=[uuid] / ext4 errors=remount-ro 0 1 UUID=[uuid] /data vfat utf8,umask=007,gid=46 0 1 UUID=[uuid] /home ext4 defaults 0 2 UUID=[uuid] /home/username/bin ext4 rw,suid,dev,exec,auto,user,async 0 2 UUID=[uuid] none swap sw 0 0
My problem is now that while I'm able to read and write files on this new partition, I cannot run applications/programs located there. As a regular user, I always get a "permission denied" error. As root (with
sudo), just nothing happens, which means it immediately puts me back to the shell prompt. The applications should produce textual output or open windows. Some of these applications are binaries, some are scripts. I try to launch them with
./program. If I copy them back to my home folder, I can run them without problems.
Actually, I kept these applications for months in another sub-directory
/home/username/apps of my home folder and ran them from there, without any problems.
How can I fix this? What am I doing wrong? :)