35
submitted 1 week ago* (last edited 1 week ago) by laserjet@lemmy.dbzer0.com to c/linux@lemmy.ml

I have been playing around with chmod, chown, setfacl and special bits trying to get multiple system/full users in same group correct access permissions to my media collection.

But I've messed it up somehow and now I'm having weird problems that are hard to track.

I would like to set my whole collection back to the defaults.

What is the best way to do this?

One problem I've had when making changes to so many files is the process seems to go forever without completing. Eventually it gets killed so my filesystem has variable attributes throughout. how can this be worked around?

I want everything to be owned by myuser, group media, everything else default I will sort it from there once I have a fresh slate.

And is there a way to backup these attributes only? I don't have enough storage to backup the files themselves.

It is Debian with ext4 filesystem.

Edit to add: Media collection is on its own separate drive/filesystem; this has no impact on anything else on the computer.

you are viewing a single comment's thread
view the rest of the comments
[-] deadcatbounce@reddthat.com 17 points 1 week ago* (last edited 1 week ago)

Restore from backup. No point in trying to figure out what changed, how and where.

[-] ReversalHatchery@beehaw.org 8 points 1 week ago

that sounds to ge good advice, but I'm pretty sure they would yave done that themselves, if they had a backup.

and, if you read the whole post, you'll know that they are physically unable to keep a backup.

this post was submitted on 24 May 2025
35 points (94.9% liked)

Linux

54468 readers
321 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS