LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-06-2013, 03:10 AM   #1
nap_blownapart
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Rep: Reputation: Disabled
Navigation Problem with symlink (jailkit & ispconfig)


On a Ubuntu machine (10.04 LTS).
I have a folder say /var/www/site/web
www belongs to root and has permissions 755.
site belongs to user1:group1 and has permissions 710 on it.
web belongs to user1:group1 and has permissions 777 on it.

Then I have have a local user friend:friend (in jail)
I add friend to group1 (usermod -a -G group1 friend), so now friend is also in group1.

friend then creates a symlink " ln -s /var/www/site/web " inside their home folder. The symlink 'web' is visible in their 'ls' display in red, but friend cannot follow the link to see the contents of web ('cd web'). When 'ls -lha' is issued, the correct path of the symlink is displayed, but in red (permission problem?)

However, when 'root' navigates to fiend's home folder and does 'cd web' it works and root can see everything in the folder.

(I'm not sure if mentioning ISPConfig is relevant to the question but I thought I would mention it in case.)

Anyone know what I've done wrong?

Cheers,
Nap
 
Old 09-06-2013, 07:07 AM   #2
nap_blownapart
LQ Newbie
 
Registered: Jul 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Ok, all sorted.
I should have realised that the root folder of a jailed user is established by the jailkit setup.
In order to achieve what I wanted to do, I had to mount the target folder onto a folder in the jailed user's space.

Cheers,
Nap
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't login to webalizer (ispconfig & centos setup) cshelswell Linux - Server 0 07-29-2009 04:27 AM
konqueror loses navigation & url box polgard Linux - Desktop 4 06-18-2007 12:56 PM
LXer: Open Source presence at Institute of Navigation's Global Navigation Satellite Systems meeting in Fort Worth, TX next week LXer Syndicated Linux News 0 09-20-2006 03:21 PM
xbindkeys & firefox navigation nemesi Slackware 3 12-05-2005 01:43 AM
create symlink with an option,e.g. gunzip & gzip,how? l_9_l Linux - General 1 05-15-2002 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration