DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-01-02 18:47:28

marca
Member
Registered: 2007-10-13
Posts: 64

FTP permissions

I have a group with users. The group has full read/write to folder /FTP.
I want all users in this group only to be able to read from all subdirs except the /FTP/Upload dir where they should be able to upload files as well.

Because of the lack of different permissions to different folders i have chmod the directories to 0775 except for the /Upload dir that's been chmod to 0777 = it now works like i want it to work.

The problem is this is effected to all accounts regardless of using samba, telnet (except root) or ftp.
So i have to change permissions (temporary chmod directory to 0777) every time i want to transfer new files to the subdirectories (except Upload). Is there some way to archive this setup so i dont have to do this everytime?

Can i add my ftp and samba user to the 0775 group somehow?

Sorry if this is a very basic question but im a *nix newbie

Thanks,

marca

Offline

 

#2 2008-01-26 04:26:54

5h4rk
Member
Registered: 2008-01-26
Posts: 27

Re: FTP permissions

I also would like to know how this can be done.

Thanks


FFP 0.5 | FW 1.0.5

Offline

 

#3 2008-01-26 09:36:44

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: FTP permissions

To accomplish this you will need a better understanding of how to specify 
file permissions for users and groups in Linux.

I'd suggest a Google search for 'Linux permissions user group' and
start reading, then post more specific questions, if you have them.

Last edited by mig (2008-01-26 09:37:32)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB