- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftpaccess overwrite - permission denied
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
Forums
Discussions
Discussions
Discussions
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
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
05-18-2004 02:18 AM
05-18-2004 02:18 AM
ftpaccess overwrite - permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:20 AM
05-18-2004 02:20 AM
Re: ftpaccess overwrite - permission denied
Does the user/group have write access on the file, or write access on the dir the file is created in?
Do you have /etc/ftpd/ftpaccess file and if so what did you configure?
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:25 AM
05-18-2004 02:25 AM
Re: ftpaccess overwrite - permission denied
upload /home/ftp * yes bob group2 0640 nodirs
user bob and group2 are not the same as the ftp account/group dropping the file.
Any advice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:25 AM
05-18-2004 02:25 AM
Re: ftpaccess overwrite - permission denied
The user is set up with its own login and group which is listed as the guestgroup.
In the ftpaccess file I change the ownership of the file via the upload line.
However, I do want the file to be OVERWRITTEN if it exists at the next login and I keep getting permission denied when trying to do so.
According to the notes, overwrite "yes" is the default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:26 AM
05-18-2004 02:26 AM
Re: ftpaccess overwrite - permission denied
It almost always has something to do with the user/group/permissions file ownership.
A logical look at that will spot the problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:28 AM
05-18-2004 02:28 AM
Re: ftpaccess overwrite - permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:32 AM
05-18-2004 02:32 AM
Re: ftpaccess overwrite - permission denied
There is a section in the /etc/ftpd/ftpaccess file that concerns the overwrite:
# all the following default to "yes" for everybody
delete no guest,anonymous # delete permission?
overwrite no guest,anonymous # overwrite permission?
rename no guest,anonymous # rename permission?
chmod no anonymous # chmod permission?
umask no anonymous # umask permission?
You could try setting overwrite to yes.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:36 AM
05-18-2004 02:36 AM
Re: ftpaccess overwrite - permission denied
I am playing with the permission settings now, but feel that with the changing of ownership (user and group) of the file, I am undoing what the overwrite is allowing.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 03:21 AM
05-18-2004 03:21 AM
Re: ftpaccess overwrite - permission denied
I believe this is not going to work as long as the file doesn't have permissions for the user that is uploading file. This is what will happen in my view. Say you are uploading the file as "user" and you are changing ther ownership to "user1". ftpd spawned by root for the user "user" will first open the file as "user" and then will does fchown to "user1" due to the upload arguments.
In your overwrite case, the initial open itself will fail as the file is already owned by 'user1'. So, unless you put user in the same group as of user1 and change the permissions to "660" in your ftpaccess or give it "666" so that anyone can overwrite, it is not going to work. This is just my thought on how it works.
-Sri