Hi,
I've been reading through a number of similar problems on here, but none seem to be quite the same as what I'm experiencing, I'd really appreciate a few things I could try.
I'm using Amahi 5 on Fedora 12. I set up two users and 2 custom shares. There seems to be a problem though that neither user is part of the 'users' group (as far as I can tell). Each user can see folders/shares the other set up, but cannot open files or save anything there. I've checked the folder permissions in Fedora and 'users' should be able to. When I change the permissions for 'Others' then everyone can access the share. Any new folders created in the share have the same permissions problem though.
First user is the one used for set up (and is admin, other isn't).
Both users have all lowercase names.
Clients have been restarted several times.
One client is Vista Home other is XP Home.
I've tried deleting the second user and setting up another user, didn't help.
Any ideas? Thanks.
Problems with share permissions
Re: Problems with share permissions
can you check the users' groups and post it here?
you can do this by issuing the following command:
you can do this by issuing the following command:
Code: Select all
id <username>
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Re: Problems with share permissions
First user created was 'asher'; second was 'greg' this was deleted in Amahi and another user created 'gregs' to see if this would solve the problem.
These are the results from running id <username>
So, I can see from this that my initial user is in a different group to the rest. Should I set up another user for myself (asher) in Amahi and then change the groups associated with the shares in Fedora?
These are the results from running id <username>
Code: Select all
uid=500(asher) gid=500(asher) groups=500(asher)
uid=501(greg) gid=100(users) groups=100(users)
uid=502(gregs) gid=100(users) groups=100(users)
Re: Problems with share permissions
nope that should not be needed.
you could try to put yourself into the "users" group:
then the output of id should give you the primary group users.
you could try to put yourself into the "users" group:
Code: Select all
usermod -g users asher
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Re: Problems with share permissions
Right, think I've got this fixed. Used
to add myself to the 'users' group.
Then found that neither Greg nor I could access any files/folders. Tried changing the folder permissions again in Fedora GUI, these appeared to change, but neither we still couldn't access files.
So, opened up another terminal and usingsaw that the permissions of all the folders were for the group 'asher'. So used
to change permissions on the shares. This seems to have worked.
Code: Select all
usermod -g users asher
Then found that neither Greg nor I could access any files/folders. Tried changing the folder permissions again in Fedora GUI, these appeared to change, but neither we still couldn't access files.
So, opened up another terminal and using
Code: Select all
ls -l
Code: Select all
chgrp -R users directoryname
Re: Problems with share permissions
having exactly the same problem, second user account can see the shares but cannot access any of them... seems my main account was created in a user group of its own, whereas the second one was in the normal users group. going to try this fix and report back, looks like a pretty glaring flaw in amahi user management though
Re: Problems with share permissions
Hello,
Please submit a bug on this issue at http://bugs.amahi.org. This will ensure visibility is not lost and you will be notified when it is resolved.
Please submit a bug on this issue at http://bugs.amahi.org. This will ensure visibility is not lost and you will be notified when it is resolved.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Problems with share permissions
If you're sharing your own directories, i.e. if you use existing directories instead of the dashboard-created /var/hda/files/something, you might need to adjust the permissions on your files and folders.
If you want to have your shared directories & files readable & writable to other users:
Example:
To make those files & folders only readable to others, but not writable, replace 775 with 755, and 664 with 644 in the above commands.
Repeat for all your shared directories.
If you want to have your shared directories & files readable & writable to other users:
Code: Select all
chown -R your_username:users /your/shared/directory
find /your/shared/directory -type d -exec chmod 775 {} \;
find /your/shared/directory -type f -exec chmod 664 {} \;
Code: Select all
chown -R gboudreau:users /var/hda/files/movies
find /var/hda/files/movies -type d -exec chmod 775 {} \;
find /var/hda/files/movies -type f -exec chmod 664 {} \;
Repeat for all your shared directories.
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 43 guests