Registered Member
|
I know that allowing to set is executable is as easy as going to the folder, selection all files that need to be changed and (un)checking the box next to "is executable". But, the windows world, all files are treated as executable, the opposite in the linux world and that is the way is supposed to be. But USB flash drives use the FAT file system, and everything I transfer to my USB and transfer back to a Linux machine gets marked as executable, so I go on folder by folder selection all files and un-checking is executable. In nautilus, you can just select all the folders in the top level directory and apply the is executable on or off to all the files in inside those folders. In Dolphin and Konqueror this is impossible, and even though I won't die without it, it would be a time saver for me.
Thanks Eduardo "kensai" Romero |
Administrator
|
Already available actually. Make the permission changes desired at the top level, then tick "Apply changes to all subfolders and contents"
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Certainly true, but a real time-saver would be that the folder would remember that. I.e., if I copy to-do-list.txt from a usb-stick into /home/user/whatever, the to-do-list.txt would automatically inherit whatever permissions the whatever directory has. That is, if whatever is set to be rwx------, the copied file should have those permissons as well regardless if it's copied from a filesystem with no notions of file-permissions (iow, FAT most of the time). x in this case means the ugo+X permissions (that is, just set the x flag if it's a directory or explicitly set previously when copied from a posix-compliant filesystem).
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Administrator
|
Yes, but you can't change the executable flag for folders (= its content), right?
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Administrator
|
Folders have an executable flag, except it is called "enter" I believe. Without this permission, you will have no access to the folder even with read / write permissions.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Administrator
|
Yes, but that's not really what the IP (idea poster) wants. Or can you easily chmod a-x all files in a folder (and its subfolders) in Dolphin/Konqueror at the moment? (Using the terminal is not allowed. :P)
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered Member
|
You can, if you click on the "Advanced permissions" button. Mind, if you remove the executable flag for folders you are not allowed to cd into it. It would be great if that "Advanced permissions" button would allow you to set acls if the system allows it.
Last edited by Kryten2X4B on Tue Apr 21, 2009 11:33 pm, edited 1 time in total.
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Registered Member
|
Thanks Hans, you are getting my idea right, I don't blame bcooksley maybe it was not clear enough. I don't like to compare, because I know, being a developer of Arch Linux myself, that comparisons aren't well taken. But this is the best way to express it, in Nautilus you can select all folders you want and uncheck the is executable and click on apply to all subfolders, and then all your files aren't executables. As I said, is a time saver. Thanks for your patience, Eduardo "kensai" Romero |
Registered Member
|
In Dolphin: mark two (or more) folders, right-click and select properties. Check the "Apply changes to all subfolders and their contents" at the bottom of the window. Click on "Advanced permission". Uncheck the enter-flag on user/group/other as applicable. Does that solve your problem?
Last edited by Kryten2X4B on Tue Apr 21, 2009 11:52 pm, edited 1 time in total.
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Registered Member
|
As explained earlier, changing the enter values isn't the same as changin the is executable values of the files. That way no value of the folder is altered, only removing the executable from the files is affected. Folders are left alone. |
Registered Member
|
Sorry for the misunderstanding then. Still, that sounds more like a bug than a wishlist to me. The GUI from Dolphin does allow you to set things recursively, although not in an optimal way (when it comes to this use-case at least). That "is executable" checkbox should probably always be visible and when a part of your selection is a folder it should do the equivalent of chmod -R u-X (when the checkbox is cleared). That should do the trick, at least in user-mode and in the homedir. There may be circumstances when the x-flag is not desireable for folders in a users home-dir but I can't really think of one.
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
Registered Member
|
It can be a bug, but it can be an idea, since I don't know what the developer intended, so this might be an idea I think.
Having an is executable button when selecting a bunch or just a folder, which will apply the is executable checked or not to all files in sub-folders as well is what I intend to bring up to the table here. A real time saver, and something the people with little command line experience would appreciate. |
Registered Member
|
Anymore votes???
Well, I found a way to better describe it, as I have had a lot of people telling me I didn't explained right the first time. Here is the thing, now I have a lot of folders with a lot of subfolders, If I ever backup and put all this into an fat32 or ntfs partition, and then copy them back to my Linux system, I will have to go trough every folder and every subfolder selecting all files in it and going to advanced permissions and setting off the is executable option. There would be a lot of use for an option like this; I select the original folders with a lot of subfolders and I have the option form there to switch off the is executable option and have that apply to all files in subfolders of the parent folder as well. Like it is in nautilus right now. This will save a lot of time and effort by the end user. There it goes my best and clear explanation. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]