View previous topic :: View next topic |
Author |
Message |
RandomLinuxUser n00b
Joined: 20 Feb 2013 Posts: 7
|
Posted: Sat Feb 23, 2013 7:00 pm Post subject: [SOLVED] Every file on mounted devices is executable... |
|
|
Every file i create on a mounted device is executable. It is annoying if i try to list only executable files, and then everything is listet.
Even if i execute "touch some_new_file" it is executable. I cant remove this flag with "chmod -x some_new_file"
Here my fstab:
Code: | ...
/dev/sdb1 /mnt/usb_1 auto rw,noauto,users,exec 0 0
... |
Last edited by RandomLinuxUser on Sat Feb 23, 2013 7:48 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Sat Feb 23, 2013 7:22 pm Post subject: |
|
|
RandomLinuxUser,
What filesystem?
Post the output of Not all filesystems support Linux permissions. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
RandomLinuxUser n00b
Joined: 20 Feb 2013 Posts: 7
|
Posted: Sat Feb 23, 2013 7:30 pm Post subject: |
|
|
vFat. Yes, maybe this is the reason.
But its still annoying. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Sat Feb 23, 2013 7:47 pm Post subject: |
|
|
RandomLinuxUser,
yep, thats the reason.
If you do not fake the +x mode, you will not be able to cd to a subdirectory on the filesystem. Thats annoying too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|