Permissions issue, i dont have them in gnome, but command line ok
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Go one level up from the sshfs directory and issue as root
Quote:
chown -R amnesia:amnesia sshfs/
.
This will make you owner of the directory, including sub-directories.
After this try to create there some files using GNOME.
Keep in mind that you won't open any file from the d directory as it has no execute permission.
If you wanna achieve that use chmod.
thanks, i want to try, it i just have question, that folder is an mounted folder from remote server, it is folder of the "root" of that server, so should i really try changing amnesia:amnesia -R ?
im running that command now, its around 10 minutes, not ready yet, its like 400 files i hope :/
thanks, i want to try, it i just have question, that folder is an mounted folder from remote server, it is folder of the "root" of that server, so should i really try changing amnesia:amnesia -R ?
Well, seeing that it's a network share, I'd rather not change that as it would allow anyone knowing your username password to access the files on the server.
Instead, do some singular chmoding on files that lack execute and read permissions.
Quote:
im running that command now, its around 10 minutes, not ready yet, its like 400 files i hope :/
The -R parameter affect everything under the main directory - that's the reason.
You can easily revert it, by
the permissions from terminal looks like:
-rw------- 1 amnesia root 0 Feb 11 15:27 new
They look correct; The owner of each new file is amnesia and it gets read and write permissions. If different user is to operate on the files, he will need to be in "root" group. Isn't it fair enough for you?
I might be a bit off here, but I'd say it sounds strange that your user's group is "root" and it does not have the "users" group in its group list...
If you create a file elsewhere via GNOME what are the permissions? (I'd like to see who GNOME is running as, and in what group). Are you logging into GNOME as "amnesia" as well?
When you start the terminal, did you `su` to being a different user?
And yes, what command did you use to mount that share?
(Also, what are you doing mounting the folder of your other server's root user folder?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.