SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I hate to be a pain but could u explain what im actually changing? im only 15 so im young and stupid and trying to figure this out from the ground up ..
thanks heaps
Sure, there is a file /etc/group, and it is a table with
each line showing the name of a group followed by a colon
and then followed by the users who are members.
If you know what you're doing you can edit that file and
it will have the same results as running gpasswd.
ahh thanks heaps. Its weird though i still cant change the ownership to kuiper. it still says owner root and group root
i can see the file plugdev:x:83:kuiper
but i plug the USB in and it comes up failed to mount kuiper
weird. i cant seem to get ownership or change the group of the external USB which ive mounted
I didn't read from the top, I just saw that you wanted to know how
to add a user to a group.
Good call that adding yourself to the group doesn't change the
ownership of the mounted directory.
I'm hoping someone more familiar with Slackware will comment on
how to set ownership and permissions on automatically mounted
USB devices. (In CentOS and Mint my user has access by default.)
I know another OS whose name I won't mention that does require a
logout and login for permissions to be updated. However with
Linux and Unix any changes take effect immediately, even for
users that are currently logged in.
However with
Linux and Unix any changes take effect immediately, even for
users that are currently logged in.
You are simply incorrect or talking about something else.
Any existing login environment will not see the change. A new login environment will. Most window managers that I've used operate in a login environment.
I know another OS whose name I won't mention that does require a
logout and login for permissions to be updated. However with
Linux and Unix any changes take effect immediately, even for
users that are currently logged in.
Permissions are updated immediately, but the groups a user belongs to are not (and thus the window manager will not realize your user is in the appropriate group until you log out of X [and the console you launched it from, if in runlevel 3] and log back in).
If your external hard drive is FAT or NTFS, you will not be able to change permissions (since Linux-style permissions do not exist in FAT/NTFS filesystems). Only the mount options will change the *perceived* user. If you belong to the plugdev group and the device is automounted then it should be owned by your user (assuming it is indeed a FAT/NTFS filesystem).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.