![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Merge Two .xls files side by side into a single .xls | jagadish99 | Shell Programming and Scripting | 2 | 09-24-2008 06:44 AM |
| How to Merge Two .xls files side by side into a single .xls | jagadish99 | Shell Programming and Scripting | 0 | 08-27-2008 06:38 AM |
| Export a file system with write permissions | jredx | Filesystems, Disks and Memory | 7 | 05-27-2008 03:05 AM |
| How to print two sql query outputs side by side in excel | prasee | Shell Programming and Scripting | 6 | 09-08-2007 02:20 AM |
| Having a Unix system installed side to side with Windows? | Pcslider | UNIX for Dummies Questions & Answers | 14 | 01-29-2002 06:21 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
Side-Effect of write access permissions for a subdirectory
Hi Unix Gurus,
I'm a newbie to unix and need some help from you. I'm going to give full access (777) to a subdirectory to an FTP account. Let's say the subdirectory is /usr/local/dir1/dir2/dir3 There are files in dir1, say a.txt b.cfg c.xml Will this account be able to access and modify the above 3 files lying in one of the parent directory of dir3? Thanks in Advance! - xinu299 |
|
||||
|
No, they can only do in the parent directory what the permissions are set to do for the parent directory.
PS: do not use any directory from /usr on down as a place for ftp-ers to place files - this directory tree bleongs only to the local system - user files should not be there. FTP should not be going in there to get files, either. For a variety of reasons. |
|
||||
|
Hi Jim,
Thanks for your response. So, if the file in the parent directory has the following permission (755) say -rwxr-xr-x 1 admin apps 2 Nov 20 03:25 a.txt The FTP account should be able to navigate back up to dir1 and read this file. Right? Also, thanks for your tips on avoiding the use of /usr path for giving FTP access. I'll keep that in mind. - xinu299 |
|
||||
|
Yes. the ftp user can see the file and read it. Assuming the parent directory has at least execute (nnnnnn--x) permissions. Which it has to have already had to allow the user to have gotten into the child directory in the first place.
|
| Sponsored Links | ||
|
|