HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- vsftpd access
Operating System - Linux
        1839910
        Members
    
    
        2804
        Online
    
    
        110157
        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
Forums
Discussions
Discussions
Discussions
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
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
11-26-2008 02:38 AM
11-26-2008 02:38 AM
			
				
					
						
							vsftpd access
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						using RHEL 3.0 vsftpd server :
question:
how to set permissions so that a user can upload/download and read files, but they can't DELETE files or edit them
		
		
	
	
	
question:
how to set permissions so that a user can upload/download and read files, but they can't DELETE files or edit them
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 05:21 AM
11-26-2008 05:21 AM
			
				
					
						
							Re: vsftpd access
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Shalom,
Pretty much can't do that.
If they have write access to the directory to create (upload) files then they can delete files as well.
SEP
		
		
	
	
	
Pretty much can't do that.
If they have write access to the directory to create (upload) files then they can delete files as well.
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		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
11-26-2008 06:11 AM
11-26-2008 06:11 AM
			
				
					
						
							Re: vsftpd access
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Probably, you could use:
cmds_allowed
local_umask
anon_umask
If you disallow the DELETE command, the user will be able to updload but not delete the file. But if the user can upload and overwrite the file, you won't be able to control the file "edition". So, you must prevent read access to the file after uploaded, use the *_umask parameters.
Don't forget to assing points.
		
		
	
	
	
cmds_allowed
local_umask
anon_umask
If you disallow the DELETE command, the user will be able to updload but not delete the file. But if the user can upload and overwrite the file, you won't be able to control the file "edition". So, you must prevent read access to the file after uploaded, use the *_umask parameters.
Don't forget to assing points.
	Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
			
			
				
			
			
			
			
			
			
		- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 06:41 AM
11-26-2008 06:41 AM
			
				
					
						
							Re: vsftpd access
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						> Pretty much can't do that.
It depends. The UNIX file system may not
distinguish between (over)write and delete
access, but an FTP server may do more. I
know nothing about vsftpd, but the standard
HP-UX FTP server allows some finer control,
at least for anonymous FTP. See, for
example, the last part of:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1290628
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
It depends. The UNIX file system may not
distinguish between (over)write and delete
access, but an FTP server may do more. I
know nothing about vsftpd, but the standard
HP-UX FTP server allows some finer control,
at least for anonymous FTP. See, for
example, the last part of:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1290628
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
