LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-20-2022, 06:56 AM   #31
MediaMogul
LQ Newbie
 
Registered: Feb 2021
Posts: 14

Original Poster
Rep: Reputation: Disabled

Seems to be. Like I said above once I created the New Folder and copied the .desktop files to it it allowed for the handful of icons to be changed where the other 3 folders wouldn't.

Last edited by MediaMogul; 03-21-2022 at 05:33 AM.
 
Old 03-20-2022, 07:01 AM   #32
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by MediaMogul View Post
Seems to be. Like I said above once I created the New Folder and copied the .desktop files to it it allowed for the handful of icons to be changes where the other 3 folders wouldn't.
Please mark your thread SOLVED (see my signature). Others will benefit.
 
Old 03-21-2022, 06:25 PM   #33
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,645

Rep: Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564Reputation: 2564
Quote:
Originally Posted by ondoho View Post
chmod can distinguish between files and directories all by itself
I thought that was the case but when my searches came back with variations on the two-line find method, I assumed I'd remembered wrong.

Re-checking the chmod man page and coreutils manual for chmod and file permissions it's not clearly stated, but I guess what you're referring to is the conditional uppercase X, which is +x for directories, but preserves the existing +/- x on files.

So going from 777 to 755/644 (except where execute is already set) could be a single chmod with something like "a+rX,go-w" ?

 
1 members found this post helpful.
Old 03-22-2022, 12:06 AM   #34
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by boughtonp View Post
I guess what you're referring to is the conditional uppercase X, which is +x for directories, but preserves the existing +/- x on files.
Yes, exactly!

Quote:
So going from 777 to 755/644 (except where execute is already set) could be a single chmod with something like "a+rX,go-w" ?
Yes, that looks familiar.
I was able to find that syntax through web searches, let's see...
Check these answers:
https://superuser.com/a/91966
https://unix.stackexchange.com/a/39763
 
1 members found this post helpful.
Old 03-22-2022, 05:09 AM   #35
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,704
Blog Entries: 19

Rep: Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503Reputation: 4503
Quote:
Originally Posted by boughtonp View Post
II guess what you're referring to is the conditional uppercase X, which is +x for directories, but preserves the existing +/- x on files.

So going from 777 to 755/644 (except where execute is already set) could be a single chmod with something like "a+rX,go-w" ?
I never knew that! It just shows you can always learn something new.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS issues, Downloading issues, Web issues. UbuntuHelp Linux - Networking 1 08-28-2012 07:34 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
group permission the sticky bit permission comes in capital 'S' pkishorenayak Linux - Newbie 1 04-11-2008 05:04 PM
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
permission problem - "You don't have permission to access" radone Linux - General 3 07-24-2006 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration