files are executable by default
This is probably a dumb question with a (hopefully) simple solution. Whenever I copy new files onto my computer, from a cd or usb drive for example, they end up as executable and I am constantly having to run chmod to fix that for image files and things that shouldn't be executable. I am using Slackware 10 with fluxbox as my wm and Rox Filer for a file manager. Or is this an fstab issue? Here's mine just in case:
Code:
/dev/hda5 swap swap defaults 0 0 Cheers! -geomatt |
i believe this is a problem with the umask, but does it really matter whether the files permissions set it to be executable
if this is really a problem, open a terminal and type in umask 122, then copy the files using that terminal using the cp command i still dont know why it matters whether they are executable or not, but w/e --adam |
Thanks for the response. I know it kind of seems like a silly issue, but it seems to matter for Rox filer - I dunno if you are familiar with it, but it requires that file associations be spelled out manually and then refuses to open executable files in the specified program. So if I associate .jpg files with Gimp, for ex., it'll only open them in Gimp if they are non-x.
I could just ditch Rox, but it is lightweight and has some other things I like. I'll go read up on umask. -geomatt |
All times are GMT -5. The time now is 01:48 PM. |