New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TXT file "executable" on NTFS partition #456

Closed
Smile4ever opened this Issue Sep 5, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@Smile4ever

If I double click a TXT file in Caja that is stored on an NTFS partition, this file is seen as "executable" (and a window pops up, asking to do with it, similar to .sh files). However, TXT files can never be executable, they're just plain text. Please fix this.

@infirit

This comment has been minimized.

Show comment
Hide comment
@infirit

infirit Sep 5, 2015

Contributor

However, TXT files can never be executable

What do you think shell (.sh) scripts are? Any file can have the executable bit set with chmod +x. Remove the executable bit and you will not get the option.

Contributor

infirit commented Sep 5, 2015

However, TXT files can never be executable

What do you think shell (.sh) scripts are? Any file can have the executable bit set with chmod +x. Remove the executable bit and you will not get the option.

@infirit infirit closed this Sep 5, 2015

@Smile4ever

This comment has been minimized.

Show comment
Hide comment
@Smile4ever

Smile4ever Sep 5, 2015

Its set automatically with NTFS partitions. The owner is set to root for all files on the NTFS partition while I created the file as normal user. sudo chmod -x file.txt does not work.

Its set automatically with NTFS partitions. The owner is set to root for all files on the NTFS partition while I created the file as normal user. sudo chmod -x file.txt does not work.

@infirit

This comment has been minimized.

Show comment
Hide comment
@infirit

infirit Sep 5, 2015

Contributor

Its set automatically with NTFS partitions

No it isn't. It is controlled by the umask mount option. Use your favourite search engine on how to control the executable bit on ntfs mounts.

There is an option in caja's preferences to control this behaviour so you may want to look at that.

Contributor

infirit commented Sep 5, 2015

Its set automatically with NTFS partitions

No it isn't. It is controlled by the umask mount option. Use your favourite search engine on how to control the executable bit on ntfs mounts.

There is an option in caja's preferences to control this behaviour so you may want to look at that.

@Smile4ever

This comment has been minimized.

Show comment
Hide comment
@Smile4ever

Smile4ever Sep 5, 2015

Thank you.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment