- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ownership of file is not correct after ftp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 08:05 AM
тАО09-09-2009 08:05 AM
ownership of file is not correct after ftp
$ ftp dmocoi
Name (dmocoi:schovva): dfsdsftp
331 Password required for dfsdsftp.
Password:
230 User dfsdsftp logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> mkdir test1
257 MKD command successful.
ftp>
-------------------------
Now the directory created is like this
dmocoi:/imsfeeds1/ftp/home/dfsdsftp # ls -ld test1
drwxrwxr-x 2 bcmkftp imsftp 96 Sep 9 11:55 test1
dmocoi:/imsfeeds1/ftp/home/dfsdsftp #
Note : the owner of the dir is bcmkftp
---------------------------------
This is the id info for both user
dmocoi:# id bcmkftp
uid=2525(bcmkftp) gid=493(imsftp) groups=288(ftpgroup)
dmocoi:# id dfsdsftp
uid=2764(dfsdsftp) gid=493(imsftp) groups=288(ftpgroup)
Hope you understand the problem. Any idea why it is happening like this?
Thanks,
Santhosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 08:11 AM
тАО09-09-2009 08:11 AM
Re: ownership of file is not correct after ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 08:21 AM
тАО09-09-2009 08:21 AM
Re: ownership of file is not correct after ftp
dmocoi:/imsfeeds1/ftp/home # ll
total 10
drwxrwx--- 4 bcmkftp imsftp 1024 Feb 26 2009 bcmkftp
drwxrwx--- 5 blintftp imsftp 1024 Jul 31 16:46 blintftp
drwxrwx--- 3 cstcrftp imsftp 96 Feb 18 2009 cstcrftp
drwxrwx--- 7 dfsdsftp imsftp 1024 Sep 9 11:08 dfsdsftp
drwxrwx--- 5 grnfdftp imsftp 1024 Feb 17 2009 grnfdftp
drwxrwx--- 5 touchftp imsftp 1024 Mar 5 2009 touchftp
dmocoi:/imsfeeds1/ftp/home #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 09:18 AM
тАО09-09-2009 09:18 AM
Re: ownership of file is not correct after ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 11:44 AM
тАО09-09-2009 11:44 AM
Re: ownership of file is not correct after ftp
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
226 Transfer complete.
ftp>
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
226 Transfer complete.
ftp>
Thanks,
Santhosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 12:38 PM
тАО09-09-2009 12:38 PM
Re: ownership of file is not correct after ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 06:05 PM
тАО09-09-2009 06:05 PM
Re: ownership of file is not correct after ftp
Can u pls specify ur prob. clearly ??
Rgds
Yogesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 01:18 AM
тАО09-10-2009 01:18 AM
Re: ownership of file is not correct after ftp
I guees it doesn;t make difference as it has the value of 775 :)
Try with the other user which is GID is difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 09:32 AM
тАО09-10-2009 09:32 AM
Re: ownership of file is not correct after ftp
-----------
Hi Yogesh,
This user(dfsdsftp) is FTP user whith no login shell. this user can upload data in home directory and should be able to list the files/directory. As I mentioned earlier, the owner of the files which uploaded by 'dfsdsftp' is become some other user(bcmkftp). because of this the file is not visible by the user "dfsdsftp".
Hope this is clear for you. please let me know if any other question.
Thanks,
Santhosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 09:46 AM
тАО09-10-2009 09:46 AM