- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftpaccess overwrite - permission denied
Operating System - HP-UX
1821540
Members
2189
Online
109633
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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:21 AM
тАО05-18-2004 02:21 AM
ftpaccess overwrite - permission denied
I'm hoping someone here can help me. I'm using ftpaccess to limit a ftp account login.
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.
Any advice?
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.
Any advice?
"...it's turtles all the way down."
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2004 05:16 AM
тАО05-18-2004 05:16 AM
Re: ftpaccess overwrite - permission denied
Pamela -
As a standard on one of our boxes we also limit overwrite as well as other functions.
See snip of ftpaccess below.
# all the following default to "yes" for everybody
delete yes guest,anonymous # delete permission?
overwrite no real,guest,anonymous # overwrite permission?
rename yes guest,anonymous # rename permission?
chmod no real,guest,anonymous # chmod permission?
umask no anonymous # umask permission?
Hope the copy/paste is readable.
Best of luck.
Regards,
dl
As a standard on one of our boxes we also limit overwrite as well as other functions.
See snip of ftpaccess below.
# all the following default to "yes" for everybody
delete yes guest,anonymous # delete permission?
overwrite no real,guest,anonymous # overwrite permission?
rename yes guest,anonymous # rename permission?
chmod no real,guest,anonymous # chmod permission?
umask no anonymous # umask permission?
Hope the copy/paste is readable.
Best of luck.
Regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2004 07:11 AM
тАО05-18-2004 07:11 AM
Re: ftpaccess overwrite - permission denied
Hi,
Looks like there is a duplicate thread. This was my response in the other thread.
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 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
Looks like there is a duplicate thread. This was my response in the other thread.
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 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
You may be disappointed if you fail, but you are doomed if you don't try
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP