LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2020, 06:09 PM   #1
DanceMan
Member
 
Registered: Mar 2009
Location: Vancouver BC
Distribution: MX Linux
Posts: 159

Rep: Reputation: 22
MX linux - Change permissions on a drive


Trying to move my Pale Moon profile to another computer. Copy and paste blocked by permissions.

Donor computer has my user name permission. USB drive has root permission. Cannot find any method in all the MX programs to change permissions on a drive. Could not even find a way to format the thumb drive -- had to take it to a Windows computer.
 
Old 04-20-2020, 06:24 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Code:
sudo chown userName:group
sudo chmod 775 -R
one or the other.
 
Old 04-20-2020, 06:58 PM   #3
DanceMan
Member
 
Registered: Mar 2009
Location: Vancouver BC
Distribution: MX Linux
Posts: 159

Original Poster
Rep: Reputation: 22
Thanks. I'll keep that for next time. I was somehow able to open something (and I've been hunting around so many places I can't remember) as root and managed to copy and paste the profile over. However I have some files on a usb hdd that were transferred while on Mint that are tied to root ownership and I will eventually have to change permissions or ownership of them.
 
Old 04-22-2020, 07:47 AM   #4
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 BW-userx View Post
Code:
sudo chown userName:group
sudo chmod 775 -R
one or the other.
Definitely not the latter for a browser profile (making all files executable, is simply asking for malware execution).
The 'chown' should most probably be executed recursively, i.e.
Code:
cd /to/misbehaving/partition
sudo chown -R DanceMan:Danceman .
 
Old 04-22-2020, 08:17 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by ondoho View Post
Definitely not the latter for a browser profile (making all files executable, is simply asking for malware execution).
The 'chown' should most probably be executed recursively, i.e.
Code:
cd /to/misbehaving/partition
sudo chown -R DanceMan:Danceman .
765 .. nonetheless you're most likely more right, I just do that on occasion, to a blank data drive with root permissions. no home drive, a data drive I might put executable's on , ie scripts.

a look up on permissions octal
https://chmodcommand.com/chmod-765/

Last edited by BW-userx; 04-22-2020 at 08:19 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Permissions Permissions Permissions! makem Linux - Newbie 13 07-30-2015 11:54 AM
[SOLVED] How can I change file permissions in windows ntfs partition.Even root can't change it e3399 Linux - Newbie 3 03-02-2011 10:54 PM
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:11 PM.

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