Quantcast
Channel: Sysadmin
Viewing all articles
Browse latest Browse all 164452

Permissions on portable drives

$
0
0

Hi,

I have several users ssh-ing into a Debian server with a portable drive attached. The users want to write data to this disk, and I don't want to give them the su password.

The disk mounts automatically with permissions: drwx------

Which means that only root or the owner of the drive can write to it. I have chmod-ed and read man pages till I am blue in the face, and this is going nowhere.

What's the easiest way for me to give these non-superusers the ability to write to this drive?

As is, they can't even "cd" to it- they get the unhelpful "cd: can't cd to..."

Clearly I am missing something fundamental. I'd appreciate any help. Ideally I'd like the machine to automatically mount this drive as RW to any user any time it gets plugged in. This is a single use, throw away install with a trustworthy group of 5-6 users.

submitted by SEA-Sysadmin
[link] [6 comments]

Viewing all articles
Browse latest Browse all 164452

Trending Articles