- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: ownership of file is not correct after ftp
-
- Forums
-
Blogs
- Hybrid Cloud
- Edge
- Data & AI
- Working in Tech
- AI Insights
- Alliances
- Around the Storage Block
- Behind the scenes at Labs
- Careers in Tech
- HPE Storage Tech Insiders
- Inspiring Progress
- IoT at the Edge
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Russia
- HPE Blog, UK & Ireland
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-10-2009 09:46 AM
09-10-2009 09:46 AM
Re: ownership of file is not correct after ftp
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP