Setting file upload permissions
i noticed that when I upload a file using ExpanDrive (1.2.9) the permissions for the uploaded file are set to 700 despite the fact that the remote directory is set to 755. Actually, I would prefer to set the uploaded file's permissions to 644 as I can with Transmit. I think even command-line sftp assumes the receiving directory's permissions by default if I'm not mistaken. Is there a way to set file permissions? If so, I could not find it.
Follow this discussion to get notifications on your dashboard.
-
Inappropriate?http://www.macchampion.com/arbysoft/ should work - you're essentially limited to what you can do with finder without some kind of third party solution... that being said it'd be nice to have a more seemless way to chmod.
I’m unconcerned
-
Inappropriate?I would also expect the permissions to be 644. This is usually what Finder does. I'm very surprised that the x bit is set. What kind of file is it? Is there anything special about your server setup, like strange permissions or setgid bit on $HOME?
-
Inappropriate?I have the same question. Is it possible to set and enforce default permisions for mounted drives?
I have set the server side umask to 002 (as described on http://jeff.robbins.ws/articles/setti...), and it seems to work if I create files on the mounted disk within terminal (e.g. touch test.txt), however files saved to the mounted drives by Mac OS X applications (e.g. TextEdit or TextMate) still have permissions set to 644.
I’m frustrated
-
Inappropriate?Sorry about the delayed response. I do not manage our webserver so I am unaware of any strange setup. I do not know how to verify whether the setgid bit is set on something. I just upload the files and know enough about linux to get around in it.
-
Inappropriate?Repi,
This is Finder's fault and unfortunately, we don't have a solution yet. Finder explicitly calls chmod 644 whenever a new file is created, so even if the initial permissions were correctly set to 664, they will be changed automatically. A fix is on our to-do list, but for now, you'll have to manually change file permissions in terminal if you need the file to be group-writable.
Astromac,
Does this happen for every file, or just a specific file or kind of file? -
Inappropriate?Matt,
I suspected as much due to the difference between files manipulated through terminal vs. by "regular" applications. I guess there should be a preference someplace that would change the default Finder behavior, but it would affect the whole system and not only the a behavior on one drive. A "fix" for enabling per drive defaults when using Finder (or Mac applications in general) would be greatly appreciated.
Thanks! -
Inappropriate?Did you see the first reply in this thread, about BatChmod? I haven't tried it myself, but it's probably worth a spin to see if does what you suggest.
-
Inappropriate?Hey Matt,
I did see BatChmod. It does seem like a handy program but if this permissions issue becomes cumbersome (using 2 separate programs to upload a file) I may likely revert back to Transmit - at least for new file uploads. For the moment it is workable as most of the time I use it to edit existing files rather than upload new ones - in which case ExpanDrive performs great. I can sit in Textmate, and save all day long without getting an email alert from our server that somebody logged in as I do with Transmit. That is wonderful.
As much as I love ExpanDrive and prefer using it to Transmit, Transmit allows me to upload files, have it set permissions and even rename them once uploaded. Right now I can't do these things as effortlessly with ExpanDrive. Although, to be fair, sometimes renaming a remote file works sometimes it doesn't. -
Does renaming files with ExpanDrive not work for you? I'm also still curious about the permissions issue. Are all files uploaded with mode 700, or just a specific file? -
It sometimes does and sometimes doesn't. Sometimes I'll change af ilename and it looks like it changed but it really didn't. If I refresh the directory listing it then changes back to the old filename. I'm not convinced it's a problem with ExpanDrive. Because it's sporadic, because I have inconsistent permissions issues with file uploads and because I use Path Finder most of the time I am hesitant to lay blame of my file renaming problems at the the feet of ExpanDrive. -
Ah yes, pathfinder. We've been putting off fixing that. Today is a special day, though. We're going to install all of programs that have been causing sporadic problems and really hammering at them. We'll let you know if we find anything. I really hope we can get this fixed for you. It sounds really annoying. -
As for the file permissions always uploading with mode 700, I just tried again and uploaded a text file (with path Finder even). This time it uploaded 644. I set the permissions (via path Finder) to 700, uploaded it and shelled into the server and got a directory listing and it indeed remained 700. Looking at the same uploaded file via Finder only tells me I have custom access. Changing the permissions locally to 755 and repeating the process via Finder end up with the same results.
So in the end, it seems that I need to be aware of what the permissions are locally and not to expect ExpanDrive to chmod the files by default as I was used to in Transmit. I apologize for implying that this was a bug more than a feature request. -
Thanks Matt. I think this you have a tremendous product here and it is one of my favorite gems sitting in my App folder. -
You can chmod directly from pathfinder? That'd be really handy - might have to look into that again.... how is expandrive integration with it going? -
Inappropriate?I did have a look at BatChmod. It does its job, but it is only useful after the fact, to batch change permissions. I find it easier to type in a command in terminal for that.
-
Inappropriate?I have experienced this as well. I didn't have this problem before I updated a few days ago. It is frustrating, because before it was perfect.
I’m frustrated
-
Inappropriate?I am getting complaints from my dev group about this as well. Would be really nice if using the Get Info command worked for changing permissions. For that matter, Get Info's ability to change the Open With property seems to not work for me either.
I’m frustrated
-
Inappropriate?So far, I've been using expandrive for about a week, and I love the capability it gives me to just copy and paste from one server to another, without having to download it to my desktop and then re-upload it, like I always had to do with cyberduck. The real problem comes from the fact that I work with other people, and if everything I upload to the server gets set to 644, then I have a lot of angry co-workers telling me to give them permissions to the files. I switched over from Cyberduck, which allowed me to set a default permission on every file that was uploaded, so I never had to worry about it. Now I have to go in and change the permissions every time I do something. I switched because I thought that it might speed up my workflow, but if I have to go in through terminal every time... I'm thinking of going back to cyberduck
I’m frustrated
-
Inappropriate?I would really like to get to the bottom of this, as I use ExpanDrive in a server environment where I need to be able to share with other developers. Having permissions problems is kind of a big deal.
It seems like there's a variety of sources for the problems: server-side umask, Finder behavior, ExpanDrive behavior, etc. I think it's important to get to the bottom of the interactions, and really understand why things happen the way they do.
Frankly, I don't even need ExpanDrive to completely solve the problem, if I simply could understand the behavior across multiple servers, etc., where it seems like things are different. If I knew how to work around the issues (without having to resort to a second tool), that would be good enough.
Finally, having the Permissions panel in the Finder's Get Info dialog work as one would expect is _critical_.
-
Inappropriate?We have this as a top priority item for the next major version, hopefully our next minor version will get the getinfo panel all rigged up.
Email support@magnetk.com if you'd be willing to test a beta -
Inappropriate?Would love the ability for Expandrive to be able to change file/folder permissions. Without this, it can't really replace a dedicated FTP/SFTP client (like I had wanted)
-
Inappropriate?Bump.
-
Inappropriate?ExpanDrive is basically useless for me if I can't control the permissions of the files. Uploaded a ton of images all ended up 700 despite parent folder set at 777. Now manually chmod ing the files, but that seems stupid.
I’m frustrated
-
Inappropriate?I still use it to transfer mockups and light editing, but for anything dynamic I generally just do my heavy transferring with cyberduck to preserve permissions. While I realize this is as much (or more) of a finder issue than a Expandrive one, with how I use the app now I think I'll keep it at 1.3.4.
I’m sad
-
Inappropriate?I noticed that the latest 2.0 upgrade has some "Finder plug-in" feature for permissions, does this apply to non-S3 accounts? How do we get this plugin?
I’m unsure
-
I'd also like to see this plugin.
Loading Profile...









EMPLOYEE