Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 04-07-2009, 09:28 PM   #1 (permalink)
Registered User
 
Xeneth's Avatar
 
Join Date: Mar 2009
Posts: 71
OS: XP


Dealing with permissions...

OK, I is there a way to preset permissions?

I want chmod 770 applied to all files/folders created (FTP users)

I also want either all created folders/files to be either

a. User owned / storage group
b. storage owned / user group

I'm thinking I need to put storage in each user group, but I still need the permissions.

Is there a way to make chmod 770 Default?
Xeneth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 04-07-2009, 10:30 PM   #2 (permalink)
Registered User
 
Xeneth's Avatar
 
Join Date: Mar 2009
Posts: 71
OS: XP


Re: Dealing with permissions...

I edited /etc/profile so that umask 007 But every new file/folder is made wr only by owner.
Xeneth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-08-2009, 09:22 PM   #3 (permalink)
Registered User
 
Xeneth's Avatar
 
Join Date: Mar 2009
Posts: 71
OS: XP


Re: Dealing with permissions...

Ok, vsftpd was setting it's own umask for uploaded files so that's fixed.

Problem stands at getting each user access to teir stuff AND storage full access.

Thinking the best way is to put all users primary group as FTP and just change storage to that when needed, but not good for when I cannot get to command line (on computer without ssh), and will screw up booting if I forget to reset storage as admin. Did that once already.
Xeneth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-08-2009, 10:23 PM   #4 (permalink)
Registered User
 
Xeneth's Avatar
 
Join Date: Mar 2009
Posts: 71
OS: XP


Re: Dealing with permissions...

I guess I could just force everyone into their home directories and anything created is open to all, but that seems sloppy to me.
Xeneth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-09-2009, 08:52 PM   #5 (permalink)
Registered User
 
Xeneth's Avatar
 
Join Date: Mar 2009
Posts: 71
OS: XP


Re: Dealing with permissions...

..... I don't think vsftpd pays attention to user permissions. I have rights to the file on the box, but can't affect it through ftp.
Xeneth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-10-2009, 11:38 PM   #6 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Dealing with permissions...

vsftpd only uses "/etc/vsftpd/*" files for login. You will have to edit the files in that directory to set the umask.

Generally, you can get to a shell on the local machine by typing "!sh" or "!bash". All unix commands are available if you pre-pend the bang "!", (exclaimation mark).

Have you tried "sftp" the secure ftp. Except it uses the sshd daemon.

My ftp has the chmod command available for the remote host.

Hope some of this might help.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 08:01 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85