Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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 suggest you check the group rights for your admin user. If it is a rights issue, the admin user will need rights to the home directories. This would be typical only for root. So you need to make your admin user a member of some group, and then make sure the directories allow that group full rights.
Another possibility is a problem I have had in the past. My server has the home directories on a different drive. On top of that I had to add space, and stuck a new drive in that enters the tree in the primary user directory. There are times and circumstances when I cannot use the files on the 2nd hdd, but the loss of functionality is limited. What I see is an inability to copy files from one partition to another by a user who is not on the server itself. I have seen this both in ssh and samba - but my point is your problem may be more esoteric then just rights.
I suggest you check the group rights for your admin user. If it is a rights issue, the admin user will need rights to the home directories. This would be typical only for root. So you need to make your admin user a member of some group, and then make sure the directories allow that group full rights.
Another possibility is a problem I have had in the past. My server has the home directories on a different drive. On top of that I had to add space, and stuck a new drive in that enters the tree in the primary user directory. There are times and circumstances when I cannot use the files on the 2nd hdd, but the loss of functionality is limited. What I see is an inability to copy files from one partition to another by a user who is not on the server itself. I have seen this both in ssh and samba - but my point is your problem may be more esoteric then just rights.
Thank you for you response. Does the user root belong to a group? Sounds like I would simply need to add the admin user to that group?
The user root belongs to several groups. And, actually, when you are running as root I would think you should be able to exactly as you wish - access everything. However, if you are running as your normal self, and you "su" into root, and then try to put links on your desktop, they will not work. If you log in as root to root's desktop, then you could do put links on the desktop or bookmarks in the file manager. Or, you should be able to. You would also have to connect to the samba shares as root, I think. I'm not sure, but I think you would have to add root to the samba-users database.
That might be considered a security risk, so you would probably be better off creating a special admin user, and giving them the appropriate rights.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.