Link to home
Start Free TrialLog in
Avatar of thebodz99
thebodz99

asked on

Linux ftp give access to user to another home folder

Hi there

Hi created on my ftp server user

useradd -m -s /sbin/nologin user1
then
I go to hi home folder to give him access to another user
cd /home/user1
then
ln -s  /home/user2    to give access user1 to home folder of user2

then I go to /etc/group

I edit user2

user2:x:572:user1

Ok now I open the ftp site log has user1and I should be able to see and have access to directory home folder of user2 but I still get an access denied

I go to cd /home/user2

chmod 750 on user2 home directory but still I get an access denied ???

Does anyone know how to log on on ftp site with one user and have access to another user directory ?

thanks all
Avatar of myhc
myhc

what version of linux?
Avatar of thebodz99

ASKER

redhat
Ah, sorry. i'm no help.

i use ubuntu.  I'm sure there is a redhat IRC channel for support.  thats your best option.


So get an irc client. connect to irc.freenode.net then join room #redhat

you might need to find the correct channel on the web, but that will be amazing support.
so nobody knows how to do it???
not me, others are just not helping at the moment. lol  Sorry

late in UK 00:14 - so bed for me. someone else might be along in a moment or best 24Hr
ok ill wait for someone
Is selinux enabled? If it is, then you will have to run chcon
im sorry what is SELINUX and chcon?
IRC Channel: #RedHat on freenode.net is still your best option.
ASKER CERTIFIED SOLUTION
Avatar of thebodz99
thebodz99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial