Index

Subject : Re: LUG: Another Ubuntu Puzzle

From : "Josh Hunholz" <josh@hunholz.[redacted]>

Date : Tue, 15 Nov 2005 22:59:49 -0500

Parent


What FTP server are you using? VSFTPD (and others, I believe) apply a
umask value to all permissions, so if the umask is set to strip off
certain permissions, even if you set them on the file the umask will take
them back off for ftping.

--Josh

> As I've said before - lots of Solaris SA experience but Ubuntu is
> confusing
> the old man!
>
> Have added a second hard disk to the box running Ubuntu. Partitioned it
> into two partitions fat32. I think I have mounted them since I can cd to
> each and add files from within Ubuntu.
>
> When I try to ftp from another box, I can list the files on the partitions
> but cannot write to the partitions.
>
> Sure enough the permissions are 755 on each of them. No problem, I sudo
> chmod 777 - should fix the problem, nope, now they are 744! OK, I'll fix
> that - set a root password, su to root and run chmod again - same
> result. It seems I cannot set either partition's permissions to include
> write for group or world.
>
> Even this -- I touch test on one of the partitions, then chmod 722 test
> and
> the permissions are -rwx------ ! Go figure
>
> OK - what the heck am I doing wrong?
>
> A puzzled class of '61 grad!
>
> Ken Whichard