Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm using Linux Mint 12. There I have several partitions which I auto-mount on startup. pysdm says that /dev/sda6 should permit execution of binaries. Also the /etc/fstab says it should.

/dev/sda7   /media/Data         btrfs  users,user           0  0
/dev/sda8   /media/LocalBackup  btrfs  users,user           0  0

But executing scripts that are on this said partition yield "Permission denied". Also mount says "noexec", even though that's not specified neither in fstab nor pysdm.

/dev/sda7 on /media/Data type btrfs (rw,noexec,nosuid,nodev)
/dev/sda8 on /media/LocalBackup type btrfs (rw,noexec,nosuid,nodev)

Where is the error? Is there a further file that influences partition mounting?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I believe that, as a security feature, anything with user in the fstab is automatically mounted noexec unless exec is explicitly given in the fstab.

share|improve this answer
    
I deleted both user and users from the fstab, now it is only mounted rw. Thanks! –  Michael Kohler May 5 '12 at 15:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.