Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

General Questions • Re: How do you change the permissions of a file exactly?

$
0
0
Hi Noidly1, 👋

Had somewhat a similar issue accessing files from a specific folder.

I used two commands:

1) Taking ownership which gives you "Read-Only"
Command: sudo chown root:root /

2) Being able to "Read-Write-Execute"
Command: setfacl -R -m u:username:rwx myfolder

Here are the sources that guide me on finding the solution:
🔹https://www.cis.rit.edu/class/simg211/u ... sions.html
🔹https://askubuntu.com/questions/487527/ ... w-notation
🔹https://superuser.com/questions/1572867 ... -to-a-user

I hope this helps you out. 👍


Cheers,
🩰Ballerina🩰

Statistics: Posted by elsaballerina — 2025-01-11 01:59



Viewing all articles
Browse latest Browse all 2849

Trending Articles